Hello Julius Werner, You-Cheng Syu, build bot (Jenkins), Joel Kitching,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/33016
to look at the new patch set (#2).
Change subject: src/driver/vpd: Check decoded content length before invoking callback ......................................................................
src/driver/vpd: Check decoded content length before invoking callback
When decoding, the content (key or value) part should be also checked before we jump into callback because the callback function has no idea if the contents are all valid.
The key cannot be empty while value can hold empty contents.
BUG=chromium:967209 TEST=make; boots on at least kukui boards.
Change-Id: I3928e9c43cb87caf93fb44ee10434ce80f0a188a Signed-off-by: Hung-Te Lin hungte@chromium.org --- M src/drivers/vpd/lib_vpd.c 1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/33016/2