Re: [PATCH] EFI missing failure handling

2005-03-05 Thread Matt Domsch
On Sat, Mar 05, 2005 at 09:17:34PM +0100, Panagiotis Issaris wrote: > Hi, > > On Sat, Mar 05, 2005 at 07:06:29PM +0200 or thereabouts, Alexey Dobriyan > wrote: > > On Saturday 05 March 2005 17:38, Panagiotis Issaris wrote: > > > > > The EFI driver allocates memory and writes into it without chec

Re: [PATCH] EFI missing failure handling

2005-03-05 Thread Panagiotis Issaris
Hi, On Sat, Mar 05, 2005 at 07:06:29PM +0200 or thereabouts, Alexey Dobriyan wrote: > On Saturday 05 March 2005 17:38, Panagiotis Issaris wrote: > > > The EFI driver allocates memory and writes into it without checking the > > success of the allocation: > > > > 668 efi_char16_t *variable_nam

Re: [PATCH] EFI missing failure handling

2005-03-05 Thread Alexey Dobriyan
On Saturday 05 March 2005 17:38, Panagiotis Issaris wrote: > The EFI driver allocates memory and writes into it without checking the > success of the allocation: > > 668 efi_char16_t *variable_name = kmalloc(1024, GFP_KERNEL); > ... > 696 memset(variable_name, 0, 1024); > --- linux-2.6.1

[PATCH] EFI missing failure handling

2005-03-05 Thread Panagiotis Issaris
Hi, The EFI driver allocates memory and writes into it without checking the success of the allocation: 668 efi_char16_t *variable_name = kmalloc(1024, GFP_KERNEL); ... 696 memset(variable_name, 0, 1024); The patch applies to 2.6.11-bk1. Signed-off-by: Panagiotis Issaris <[EMAIL PROTECTE