summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-12-15 15:24:06 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-12-16 18:45:56 +0100
commitadcad7f046aadaa88c5abb9bcc99bdacf1ff8639 (patch)
tree0131c8c478dd8fbcaa2c3f46feaac61033c29781 /src/mainboard
parent305035cf2747529fadc894e5bef9e5c933baa2c0 (diff)
util/romcc: Don't read 'member' if it might be NULL
The earlier loop exits gracefully iff i == index. In other cases, member might be NULL, so check that the scan was successful before using its results. Change-Id: I818c233d797d82fa819243c4626dd9c4b7de3ac6 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Found-by: Coverity Scan #1129147 Reviewed-on: https://review.coreboot.org/17887 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions