lkml.org 
[lkml]   [2014]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust
On Mon, Jan 13, 2014 at 11:27:34AM +0100, Borislav Petkov wrote:
> 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.

I know this is nearly impossible, but is there possible for some corrupted
desc_size value or firmware bug? who knows...

Thanks
Dave


\
 
 \ /
  Last update: 2014-01-13 15:01    [W:0.048 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site