PATCH: Re: [U-Boot-Users] malloc with no return check?

Travis B. Sawyer tsawyer+u-boot at
Tue Jul 19 04:22:39 CEST 2005

Andrew Dyer wrote:
> I noticed the au1xxx ethernet driver has a malloc where the return
> value isn't checked.
> I did some more looking while waiting for a slow flash programmer and at least
> these files seem to do the same thing:
> ./cpu/ppc4xx/440gx_enet.c

Here's a patch to fix 440gx_enet.c

Patch by Travis B. Sawyer, 18 July 2005
Check return value of malloc in 440gx_enet.c

Best regards,


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 440gx_malloc_fix.patch

More information about the U-Boot mailing list