Home
last modified time | relevance | path

Searched hist:"62 cf11c0921a90c6bd62344f4bc069668e6c698c" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/common/spl/
H A Dspl.c75ee777bcdfcf1cd0e96036a6f50f0811675a36e Tue Oct 03 15:55:50 UTC 2017 André Draszik <adraszik@tycoint.com> UPSTREAM: 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")

Change-Id: I948dee1b9a4e1ddfbb122475e2d209cc26dec9d0
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 3fe3839acc4a5d9b1af9b2ab3884b0d3f2e23370)
62cf11c0921a90c6bd62344f4bc069668e6c698c Tue Jul 16 11:45:01 UTC 2013 Taras Kondratiuk <taras@ti.com> SPL: Limit image name print length

If image name is longer than 32 bytes, then it will be truncated.
This will remove '\0' at the end of the line, so printf will
go out of string limit.

Signed-off-by: Taras Kondratiuk <taras@ti.com>
Reviewed-by: Tom Rini <trini@ti.com>