[U-Boot] Notification in Malloc

Wolfgang Denk wd at denx.de
Wed Oct 20 13:03:16 CEST 2010


Dear Kostaras Nikolaos,

In message <4CBEA38B.9080901 at intracomdefense.com> you wrote:
> 
> error on the requested space. New condition includes the equal as well 
> as the less: 
> 
>                     if ((long)bytes <= 0) return 0;
> 
> This seems to fix the problems, after the malloc invocation with size 0. 
> If there is
> another way to deal with this, plz keep me posted.

Makes sense.

Can you please provide a proper patch?

See http://www.denx.de/wiki/U-Boot/Patches for instructions.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To be awake is to be alive.        - Henry David Thoreau, in "Walden"


More information about the U-Boot mailing list