summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorYou-Cheng Syu <youcheng@google.com>2019-02-26 21:41:52 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-02-28 13:56:45 +0000
commitc60c3269ec9d1bfcec2ec4f6fb450e9a59a0818e (patch)
tree3256ef6a7b677d960cfd7fdde866d50bd2456697 /Makefile.inc
parent5ec1d24974de8280a615047804bdfa73720777c8 (diff)
downloadcoreboot-c60c3269ec9d1bfcec2ec4f6fb450e9a59a0818e.tar.xz
libpayload: cbfs: Check decompressed size when loading files
After loading compressed files in CBFS, we should check the decompressed size is equal to the expected size. This might help us detect file content corruption or compressor/decompressor bugs. BUG=none BRANCH=none TEST=manually (we can still boot into kernel on Kukui, and verify that loading files from CBFS still works by seeing ChromiumOS firmware screen). Change-Id: Ia756cc5477670dd0d1d8aa59d4160ab4233c6795 Signed-off-by: You-Cheng Syu <youcheng@google.com> Reviewed-on: https://review.coreboot.org/c/31564 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile.inc')
0 files changed, 0 insertions, 0 deletions