diff options
author | Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> | 2023-05-30 12:13:48 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-06-01 13:14:39 +0000 |
commit | 385f4bb965cd0f67958d77389d5185a38cb3c9d8 (patch) | |
tree | 0035e6a531dc8c69eff6469d0a1b69a91562a892 /configs/config.asus_p2b_ramdebug | |
parent | 5f3b6545f4ce1f6f0a0a44958c9a924f3639ea71 (diff) |
soc/intel/common/crashlog: Check cbmem pointer before copying records
Check existence of crashlog records in CBMEM before copying them
to BERT, otherwise it can lead to NULL pointer access.
Bug=None
TEST=Able to build. With Meteor Lake SOC related patch, able to
capture and decode crashlog.
Change-Id: I4288011866283a3a5fb8ec9e10cd51b794052b4e
Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75528
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'configs/config.asus_p2b_ramdebug')
0 files changed, 0 insertions, 0 deletions