In message <1263551117-26553-1-git-send-email...@denx.de> you wrote: > When malloc() was called before it was properly initialized > (as would happen if when used before relocation to RAM) it returned > random, non-NULL values, which called all kinds of difficult to debug > subsequent errors. > > Make sure to return NULL when initialization was not done yet. > > Signed-off-by: Wolfgang Denk <w...@denx.de> > --- > common/dlmalloc.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-)
Applied (with change as suggested by Mike). 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: w...@denx.de Disobedience: The silver lining to the cloud of servitude. - Ambrose Bierce _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot