
28 Apr
2011
28 Apr
'11
12:46 a.m.
Dear thomas.langer@lantiq.com,
In message 3E5A05AB39640047B326BEF8E2FEBBDB0AAB40F20A@mucse402.eu.infineon.com you wrote:
This patch fixes problems in the handling of redundant environment in env_sf.c
The major problem are double calls of free() on the allocated buffers, which damages the internal data of malloc and crashes on next call.
In addition, the selection of the active environment had errors and compiler warnings, which are corrected by this patch.
Signed-off-by: Thomas Langer thomas.langer@lantiq.com
This patch is done and tested against the version 2010.12 and applies also cleanly against the u-boot/master.
Applied, thanks.
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@denx.de
Copy from one, it's plagiarism; copy from two, it's research.