coreboot/src
Jeremy Compostella 41124035a8 tree: Handle NULL pointer returned by smm_get_save_state()
Since commit 64d9e85681
("cpu/x86/smm_module_hander: Set up a save state map"), the
smm_get_save_state() function can return a NULL pointer. Therefore, it
is crucial to ensure that code properly handles the potential for a
NULL pointer return value from smm_get_save_state().

Change-Id: Ie263393ca7d9d6b5e9868c5f73240fc788116cd0
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86040
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2025-01-20 03:26:26 +00:00
..
acpi acpi: Guard CBMEM driver against Chrome devices 2025-01-16 16:12:19 +00:00
arch arch/x86: Replace 'unsigned long int' by 'unsigned long' 2025-01-08 02:57:44 +00:00
commonlib commonlib/device_tree: Skip dt_read_cell_props() when not needed 2025-01-15 20:31:27 +00:00
console console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
cpu cpu/x86/smm: Fix smm_get_save_state() returning invalid pointer 2025-01-20 03:25:41 +00:00
device device: Fix debug print 2025-01-08 08:18:55 +00:00
drivers drivers/asmedia: Add code to enable AHCI for ASM1061 2025-01-19 11:56:25 +00:00
ec ec/google/chromeec: Add debug timestamp for host EC commands 2025-01-17 07:54:14 +00:00
include cpu/x86/topology: Fix FSP-S crash caused by shared core ID 2025-01-17 16:50:31 +00:00
lib lib: Replace 'unsigned long int' by 'unsigned long' 2025-01-12 04:51:51 +00:00
mainboard mb/*: Remove old USB configs from SNB/bd82x6x boards, part 2 2025-01-20 02:08:08 +00:00
northbridge haswell NRI: Post-process selected timings 2024-12-10 09:38:00 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security drivers/pc80/tpm: Remove flag TPM_RDRESP_NEED_DELAY 2024-10-14 15:26:11 +00:00
soc tree: Handle NULL pointer returned by smm_get_save_state() 2025-01-20 03:26:26 +00:00
southbridge tree: Handle NULL pointer returned by smm_get_save_state() 2025-01-20 03:26:26 +00:00
superio superio/ite: Add support for IT8625E 2024-11-21 15:49:12 +00:00
vendorcode vendorcode/amd/fsp/glinda: Update usb_phy_config structure 2025-01-14 13:35:07 +00:00
Kconfig Add initial experimental LTO support 2024-08-24 12:50:38 +00:00