coreboot-kgpe-d16/util/romcc
Jacob Garber 298afb3140 util/romcc: Add extra null pointer check
It is possible that 'lnode->val' is set to 0 on a previous iteration of
the loop, so check that it is non-null here before dereferencing it.

Change-Id: I9827dd5623eaf11240df605a8b50ff9e27a5fce0
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1129149
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32917
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-05-23 09:02:18 +00:00
..
results
tests util/romcc: Fix parsing of empty string literal 2019-05-21 09:28:36 +00:00
COPYING
Makefile
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
romcc.1
romcc.c util/romcc: Add extra null pointer check 2019-05-23 09:02:18 +00:00
test.sh