diff options
author | Kevin Chiu <Kevin.Chiu@quantatw.com> | 2018-10-03 10:12:44 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-10-04 15:25:53 +0000 |
commit | 0fa007be131f161bbc4c7b7422e53dd702361638 (patch) | |
tree | 7fb6fb87e672592ca353c8f544b55430be70fe51 /util | |
parent | 59e923d75791bad6980a634f4762d295405c6a07 (diff) |
google/grunt: Correctly extract OEM string from CBFS
In CBFS layout:
oem.bin size is 10 bytes.
In cbfs_boot_load_file, buffer size will need to be larger
than decompressed_size, otherwise CBFS data can not be
extracted into buffer.
Then we need to check buffer whether it's empty string separately.
BUG=b:79874904
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: I4f1bbb690ecca515ac920f5058ee19b5bfd8fa5e
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/28889
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions