diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-05-21 18:55:34 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-23 09:01:57 +0000 |
commit | 4b688ab3fe6a8db4985a6e6cdad5def661f4066a (patch) | |
tree | 86f8fba6c9778ecb47c02b3bc65a8d2249cbbe7f /Documentation/northbridge | |
parent | b4222a65adcbacdb056fea88abd300c897eabfc2 (diff) |
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>
Diffstat (limited to 'Documentation/northbridge')
0 files changed, 0 insertions, 0 deletions