coreboot-kgpe-d16/src
Joe Moore c156b584ee vc/amd/agesa: Fix uninitialized scalar variable
AllocParams.Persist is used uninitialized when calling
HeapAllocateBuffer. This could lead to unpredictable or
unintended results. The f15tn and f16 versions of
AmdS3Save.c have already addressed this by initializing
AllocParams.Persist=0 in the same location in the code,
so adding to f14 only.

Change-Id: I2cbfbc4ad14a861e0cd92f130209b3b0f5b76a17
Signed-off-by: Joe Moore <awokd@danwin1210.me>
Found-by: Coverity CID 1241806
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37194
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
2020-03-04 16:07:29 +00:00
..
acpi src/acpi: Update license headers to SPDX 2020-01-02 14:49:00 +00:00
arch x86/acpi_s3: Remove trailing dots from debug message 2020-03-02 15:08:52 +00:00
commonlib lz4: Fix out-of-bounds reads 2020-03-02 15:03:03 +00:00
console treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
cpu src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
device treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
drivers soc/intel/denverton_ns: Allow using FSP repo 2020-03-04 10:31:45 +00:00
ec src/ec,mainboard: Move weak smbios_system_sku() override inwards 2020-03-04 03:57:14 +00:00
include include/cpu/amd: Drop unused files 2020-03-04 15:44:33 +00:00
lib lib/lzma: Fix out-of-bounds read 2020-02-25 10:13:51 +00:00
mainboard src/mainboard/lenovo/t530/Kconfig: Fix PCI device id for the iGPU 2020-03-04 16:05:33 +00:00
northbridge nb/intel/nehalem: Use cache.h functions 2020-03-04 15:58:19 +00:00
security treewide: Capitalize 'CMOS' 2020-02-24 14:10:00 +00:00
soc src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
southbridge src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
superio superio/nuvoton/npcd378: Switch to superio/common 2020-03-02 10:19:44 +00:00
vendorcode vc/amd/agesa: Fix uninitialized scalar variable 2020-03-04 16:07:29 +00:00
Kconfig Kconfig: Have GDB_STUB depend on DRIVERS_UART 2020-03-03 07:45:23 +00:00