coreboot-kgpe-d16/util/romcc
Jacob Garber 4b688ab3fe util/romcc: Add null check for filename
It is possible that 'filename' is still null in this if statement,
so we add an extra check to prevent a null dereference in strcmp.

Change-Id: Iaba95b63a4d552051e0c56445522de7274dfd0b3
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1395330
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32922
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-05-23 09:01:57 +00:00
..
results
tests util/romcc: Fix parsing of empty string literal 2019-05-21 09:28:36 +00:00
COPYING
Makefile
description.md
romcc.1
romcc.c util/romcc: Add null check for filename 2019-05-23 09:01:57 +00:00
test.sh