From: Borislav Petkov Subject: Re: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust Date: Mon, 13 Jan 2014 11:27:34 +0100 Message-ID: <20140113102734.GB5388@pd.tnic> References: <1389473370-1940-1-git-send-email-bp@alien8.de> <1389473370-1940-5-git-send-email-bp@alien8.de> <20140113054038.GB11237@dhcp-16-126.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20140113054038.GB11237-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dave Young Cc: Linux EFI , LKML , Borislav Petkov , Matt Fleming , Matthew Garrett , "H. Peter Anvin" , Toshi Kani List-Id: linux-efi@vger.kernel.org On Mon, Jan 13, 2014 at 01:40:39PM +0800, Dave Young wrote: > Adding a safeguard check for desc_size is better though currently it's > impossible for the desc_size > PAGE_SIZE? Huh, what? sizeof(efi_memory_desc_t) is only 40 bytes AFAICT. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --