Re: [PATCH 1/2] efi: Fix krealloc defect

From: Matt Fleming
Date: Mon Jan 13 2014 - 09:03:50 EST


On Fri, 03 Jan, at 04:08:47PM, Joe Perches wrote:
> krealloc should use a temporary pointer for allocations
> and check the temporary pointer returned against NULL too.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> cc: Matthew Garrett <matthew.garrett@xxxxxxxxxx>
> ---
> arch/x86/platform/efi/efi.c | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)

Thanks Joe, but I've already got the following commit queued up from
Borislav that addresses this,

---