diff options
author | John Zhao <john.zhao@intel.com> | 2019-05-31 09:58:49 -0700 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2019-06-05 13:02:32 +0000 |
commit | d3a73280cc8e01a28cbdb1a4d086e4dda7b35f0c (patch) | |
tree | d829ab7951dc30703124594f162f24640d9a8d09 /util/romcc | |
parent | c53665ce55ba4f5a670caf382213d984a2991900 (diff) |
src/drivers/intel: Avoid NULL pointer dereference
Coverity detects pointer fih as FORWARD_NULL. Add sanity check
for fih to prevent NULL pointer dereference.
BUG=CID 1401717
TEST=Built and boot up to kernel.
Change-Id: Ia6853e5302c87d9ffe52b942f067be56f6e77406
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33150
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'util/romcc')
0 files changed, 0 insertions, 0 deletions