summaryrefslogtreecommitdiff
path: root/futility/cmd_create.c
diff options
context:
space:
mode:
authorYH Lin <yueherngl@google.com>2022-02-23 12:00:48 -0800
committerCommit Bot <commit-bot@chromium.org>2022-02-24 21:29:55 +0000
commitca1aa19bc80a0455ba49608ca0a19a9c516c9673 (patch)
treec4198f23cbcbf2dafc25483048580381a1868af2 /futility/cmd_create.c
parentf1eb49bf1980afe9c195d99911198126ffcf7329 (diff)
downloadvboot-ca1aa19bc80a0455ba49608ca0a19a9c516c9673.tar.gz
futility: check flashrom return code and bail with error
During the flashrom initialization sequence the return code is not being checked therefore there's a potential that the code moves forward with read/write operation even with outstanding error. This CL checks the return code and bail with error. BUG=b:217629892 TEST=Test futility update with multiple instances of flashrom running. BRANCH=None Signed-off-by: YH Lin <yueherngl@chromium.org> Change-Id: I0768232f6af35290ad7b3d9f479ee299bf9400e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3485520 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'futility/cmd_create.c')
0 files changed, 0 insertions, 0 deletions