[PATCH] Fix memory access errors for kexec PPC

Simon Horman horms at verge.net.au
Wed Apr 27 02:17:20 EDT 2011


On Wed, Apr 20, 2011 at 03:02:02PM +0530, Suzuki Poulose wrote:
> Hi,
> 
> I was trying the kexec for ppc32 and came across a couple of memory errors
> while running with glibc.
> 
> The attached patch is the outcome of the glibc's alerts !
> We define buf[MAXBYTES-1] and issue  fread(buf, 1, MAXBYTES, file), which glibc
> reports an error.
> 
> Also there is a typo in the realloc_memory_ranges() code for ppc which causes in
> a double free().

Thanks,

could you please make this a formal submission by
supplying a Signed-off-by line?



More information about the kexec mailing list