summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-03-03 10:03:57 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-03-06 07:52:45 +0000
commitad64781dee9cf513b60d72c0d3ec1c67bac7362d (patch)
treed672e3b156b15afdd6ca61b68a5e42e473b8198c /src/southbridge
parent17dda3adb3850bdebc94aca693405e753f6910ab (diff)
downloadcoreboot-ad64781dee9cf513b60d72c0d3ec1c67bac7362d.tar.xz
soc/intel/tigerlake: Avoid NULL pointer dereference
Coverity detects pointer dev as FORWARD_NULL. Add sanity check for dev to prevent NULL pointer dereference. BUG=CID 1353148 TEST=Built and boot up to kernel. Change-Id: Ic0ad1ec79c950a3c17feccdde4f87f4a107fe8c0 Signed-off-by: John Zhao <john.zhao@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39260 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge')
0 files changed, 0 insertions, 0 deletions