Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/367e12597617b2581eb72b3676c6cb86822268b5 You should set ROOT_URL correctly, otherwise the web may not work correctly.

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>
master
Joe Hershberger 13 years ago committed by Gerald Van Baren
parent 24fa0e588e
commit 367e125976
  1. 5
      common/image.c

@ -2820,6 +2820,11 @@ int fit_image_check_hashes(const void *fit, int image_noffset)
}
}
if (noffset == -FDT_ERR_TRUNCATED || noffset == -FDT_ERR_BADSTRUCTURE) {
err_msg = " error!\nCorrupted or truncated tree";
goto error;
}
return 1;
error:

Loading…
Cancel
Save