[U-Boot] [PATCH] LZMA: Avoid free on null pointer.
Luigi 'Comio' Mantellini
luigi.mantellini at idf-hit.com
Sun Dec 5 10:18:43 CET 2010
Hi ML,
This patch has been moved out from the previous "[PATCH 0/6 v2] Support for Bootstrap Code" patchset.
This change should be safe because just add some check in order to avoid some possible free on null pointers in the LZMA decoder initialization.
I noticed the error tracing all malloc/free of the code during a code profiling session.
Kindly, add this fix in the master branch.
best regards,
luigi
Luigi 'Comio' Mantellini (1):
LZMA: Avoid free on null pointer.
lib/lzma/LzmaDec.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
--
1.7.2.3
More information about the U-Boot
mailing list