coreboot-kgpe-d16/src
John Zhao 2ba303e49d src/arch/x86: Prevent attack on null pointer dereference
Clang Static Analyzer version 8.0.0 detects null pointer argument
in call to memory copy function. Add sanity check for pointer header
to prevent null pointer dereference.

TEST=Built and boot up to kernel.

Change-Id: I7027b7cae3009a5481048bfa0536a6cbd9bef683
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33051
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao <lance.zhao@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2019-06-05 11:43:39 +00:00
..
acpi
arch src/arch/x86: Prevent attack on null pointer dereference 2019-06-05 11:43:39 +00:00
commonlib commonlib: fix typo LB_TAB_* (instead of LB_TAG_*) 2019-05-29 20:12:57 +00:00
console console: Move poor-man's atoi() into string.h 2019-05-23 08:43:12 +00:00
cpu cpu/amd/family_10h-family_15h: Remove variable set but not used 2019-06-03 13:32:19 +00:00
device src/device: Prevent attack on null pointer dereference 2019-06-03 13:25:25 +00:00
drivers drivers/fsp20: Fix spelling in help text 2019-06-04 12:05:35 +00:00
ec ec/lenovo/h8: Fix method name in ACPI code 2019-06-03 10:10:21 +00:00
include kconfig: Drop IS_ENABLED() macro 2019-06-04 13:33:40 +00:00
lib device_tree: Make FDT property data non-const 2019-06-04 11:24:46 +00:00
mainboard sb/intel/i82801gx: Include chip.h directly 2019-06-05 11:39:14 +00:00
northbridge nb/intel/x4x/rcven.c: Remove variable set but not used 2019-06-04 13:18:14 +00:00
security post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
soc qcs405: Add SPI driver support 2019-06-04 14:16:45 +00:00
southbridge sb/intel/i82801gx: Include chip.h directly 2019-06-05 11:39:14 +00:00
superio superio/fintek/f71863fg: Remove variable set but not used 2019-05-25 18:20:15 +00:00
vendorcode vendorcode/eltan: Add vendor code for measured and verified boot 2019-06-04 10:41:53 +00:00
Kconfig src/Kconfig: Move DRAM section to src/lib/Kconfig 2019-05-20 10:58:56 +00:00