]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Check error codes returned from fdtlib when loading ITB
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 17 Aug 2012 10:34:35 +0000 (10:34 +0000)
committerGerald Van Baren <gvb@unssw.com>
Mon, 15 Oct 2012 23:20:08 +0000 (19:20 -0400)
commit367e12597617b2581eb72b3676c6cb86822268b5
tree497d009017b24757479355a2894dac2c9abdf350
parent24fa0e588e68dfb4b15d1e94c543c9301d226902
fdt: Check error codes returned from fdtlib when loading ITB

Before this patch, error codes returned from fdtlib were ignored and
continued access would cause a crash. Now just check if the image is
truncated and error if so.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/image.c