the following patch was just integrated into master: commit adcad7f046aadaa88c5abb9bcc99bdacf1ff8639 Author: Patrick Georgi pgeorgi@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@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
See https://review.coreboot.org/17887 for details.
-gerrit