summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-05-21 13:41:50 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-05-23 09:01:42 +0000
commitb4222a65adcbacdb056fea88abd300c897eabfc2 (patch)
treeae88b2ccea338df7fb997efb63164d619b1616b8 /src/mainboard
parent55fffa29c236f054c6b40fb971f7974f2dbd705d (diff)
util/romcc: Add extra NULL checks for member
In each of these cases it is possible that 'member' is NULL at the beginning, which will skip the earlier while loops entirely and cause a NULL dereference later on. Add extra error checks to prevent this. Change-Id: Ib5873c0830b71397ef661976d387fc6ce33c5cd1 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Found-by: Coverity CID 1129147, 1129152, 1129153, 1129154 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32916 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions