[U-Boot] [PATCH] mkimage: fix Segmentation Fault when run without "-n name" option

Wolfgang Denk wd at denx.de
Sun Mar 28 00:14:20 CET 2010


In message <1269729466-15138-1-git-send-email-wd at denx.de> you wrote:
> The restructuring of the mkimage command in commit 89a4d6b1 ("tools:
> mkimage: split code into core, default and FIT image specific")
> introduced a bug that caused mkimage to segfault when run without
> "-n name" option.  Initialize the imagename entry to prevent that.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  tools/mkimage.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied.

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
Be kind to unkind people - they need it the most.


More information about the U-Boot mailing list