aboutsummaryrefslogtreecommitdiff
path: root/dtdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2016-12-22 00:59:06 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-12-27 09:44:17 +1100
commit0931cea3ba20d41013284c20b5a204dca002c058 (patch)
tree42a35c51af713588abcf81c9cb0f60b15a697f10 /dtdiff
parentf88865469b65455bdc4ebe7ad8601fafea9b8ef3 (diff)
downloaddtc-0931cea3ba20d41013284c20b5a204dca002c058.zip
dtc-0931cea3ba20d41013284c20b5a204dca002c058.tar.gz
dtc-0931cea3ba20d41013284c20b5a204dca002c058.tar.bz2
dtc: fdtdump: check fdt if not in scanning mode
Running fdtdump without scan mode for an invalid file often results in a segmentation fault because the fdt header is not checked. With the patch the header is checked both in scanning as well as in non-scanning mode. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [dwg: Removed unnecessary inline, changed type from int to bool] Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dtdiff')
0 files changed, 0 insertions, 0 deletions