[coreboot-gerrit] Patch merged into coreboot/master: util/romcc: Don't read 'member' if it might be NULL
gerrit at coreboot.org
gerrit at coreboot.org
Fri Dec 16 18:46:01 CET 2016
the following patch was just integrated into master:
commit adcad7f046aadaa88c5abb9bcc99bdacf1ff8639
Author: Patrick Georgi <pgeorgi at chromium.org>
Date: Thu Dec 15 15:24:06 2016 +0100
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 at chromium.org>
Found-by: Coverity Scan #1129147
Reviewed-on: https://review.coreboot.org/17887
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth at google.com>
See https://review.coreboot.org/17887 for details.
-gerrit
More information about the coreboot-gerrit
mailing list