diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-05-30 16:11:41 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-03 13:18:27 +0000 |
commit | 7da638c20e4c56bc103be23216862e265b3ca8b1 (patch) | |
tree | c9e830194f86b28053f411ae43a95dd3d2f13f1a /util/bincfg | |
parent | 38b7445ad240f7504b95e3e0c63122418e3ff159 (diff) |
mb/sifive/hifive-unleashed: Check for errors in fixup_fdt
It is possible that cbfs_boot_map_with_leak() and malloc() could fail,
so detect those conditions and print error messages if they do.
Change-Id: I34951da0b73028c4c89446cb1779a72422997325
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1399147
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33134
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Xiang Wang <wxjstz@126.com>
Diffstat (limited to 'util/bincfg')
0 files changed, 0 insertions, 0 deletions