]> git.baikalelectronics.ru Git - uboot.git/commit
SPL: fix printing of image name
authorAndré Draszik <adraszik@tycoint.com>
Tue, 3 Oct 2017 15:55:50 +0000 (16:55 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Nov 2017 02:10:25 +0000 (19:10 -0700)
commit04862b00b7b90aa9f7ca94c8d7a960afc909abb7
treeb8a2bd35165f75fbc61e84233e4383b2401259a5
parent40ad68abd18294c95f0d0ead819914e338e1131c
SPL: fix printing of image name

The maximum length of the name of the image is
obviously not sizeof(), which is just the
length of a pointer, but IH_NMLEN.

fixes: 62cf11c0921a90c6bd62344f4bc069668e6c698c
("SPL: Limit image name print length")

Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c