coreboot/src
John Zhao 4792f8f5eb superio/common: Fix NULL pointer dereferences
Coverity detects the dev->link_list NULL pointer dereferences while
calling report_resource_stored. Add sanity check for dev->link_list to
prevent NULL pointer dereference.

Found-by: Coverity CID 1419488
TEST=None

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I953a6524fff509a7833896392b25a3245c8cd705
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45627
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-09-28 09:31:28 +00:00
..
acpi acpi: Add SSDT pstate helper functions 2020-09-22 16:06:34 +00:00
arch arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
commonlib src/commonlib: Drop unneeded empty lines 2020-09-21 15:53:25 +00:00
console src/console: Drop unneeded empty lines 2020-09-21 15:52:42 +00:00
cpu cpu/intel/206ax/acpi.c: Fix get_cores_per_package 2020-09-28 09:24:11 +00:00
device superio/common: Fix NULL pointer dereferences 2020-09-28 09:31:28 +00:00
drivers drivers/spi: Check return value for error handling 2020-09-28 09:24:33 +00:00
ec ec/hp/kbc1126: Support not putting EC firmware in CBFS 2020-09-28 09:26:54 +00:00
include azalia_device.h: Add new macro to configure pins as NC 2020-09-28 09:30:57 +00:00
lib lib/Makefile.inc: fix name of config string 2020-09-26 19:33:49 +00:00
mainboard mb/google/volteer: Improve Eldrid Port 1 USB2 Eye Diagram 2020-09-28 09:31:18 +00:00
northbridge ironlake: Fix compilation on x86_64 2020-09-26 17:31:08 +00:00
security src/security: Drop unneeded empty lines 2020-09-21 16:26:17 +00:00
soc soc/intel/xeon_sp: Improve performance efficiencies 2020-09-28 09:29:03 +00:00
southbridge sb/intel/lynxpoint/acpi/pch.asl: Drop unused lines 2020-09-27 22:46:41 +00:00
superio superio/ite: Distinguish between chips for PECI readings 2020-09-22 01:11:02 +00:00
vendorcode vc/amd/fsp/picasso: Update to UPD 1.0.1.3 2020-09-25 23:22:50 +00:00
Kconfig treewide/Kconfig: Drop unneeded empty lines 2020-09-21 16:30:14 +00:00