From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH 03/22] libxc: Fix range checking in xc_dom_pfn_to_ptr etc. Date: Mon, 10 Jun 2013 16:54:55 +0100 Message-ID: <20917.63183.79865.71448@mariner.uk.xensource.com> References: <1370629642-6990-1-git-send-email-ian.jackson@eu.citrix.com> <1370629642-6990-4-git-send-email-ian.jackson@eu.citrix.com> <51B5F4D4.1000402@citrix.com> <20917.62820.223530.788246@mariner.uk.xensource.com> <51B5F670.8010205@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51B5F670.8010205@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: "xen-devel@lists.xensource.com" , "mattjd@gmail.com" , "security@xen.org" List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("Re: [PATCH 03/22] libxc: Fix range checking in xc_dom_pfn_to_ptr etc."): > But in patch 2, the non _pages() variant passes NULL as a parameter. > > It could be modified to pass a pointer to a dummy value on the stack, > along with a note to fix up the original callsites in the general > bugfixes following the security patches. Exactly. Ian.