diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-02-10 18:07:52 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-02-12 19:23:08 +0100 |
commit | 343ea08388583d66c4145f5da3bea8828c5c0daf (patch) | |
tree | a79e9e87c655c1ba965c1ba69adc32e36674cf59 /src/mainboard/google/cyan/smihandler.c | |
parent | 0a07c5c4a033a27058aad2fd0a3a192f3c1edf9b (diff) | |
download | coreboot-343ea08388583d66c4145f5da3bea8828c5c0daf.tar.xz |
util/cbfstool: Improve heuristic for cbfs header pointer protection
cbfstool has a routine to deal with old images that may encourage it to
overwrite the master header. That routine is triggered for
"cbfstool add-master-header" prepared images even though these are not
at risk, and - worse - destroys the chain structure (through a negative
file length), so avoid touching such images.
Change-Id: I9d0bbe3e6300b9b9f3e50347737d1850f83ddad8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13672
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/cyan/smihandler.c')
0 files changed, 0 insertions, 0 deletions