diff options
author | Selma Bensaid <selma.bensaid@intel.com> | 2021-10-11 16:37:36 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-15 00:15:07 +0000 |
commit | 291294d137393bb1f4d59b388f287134943f2a95 (patch) | |
tree | d3cf347ef6ac75f7bb52376604bcc54084ab4c8e /src/soc/intel/alderlake/lockdown.c | |
parent | c7ca0f2e33f06c3683cc1db41f83e3e5f31d566d (diff) |
soc/intel/alderlake: fix NULL pointer dereference
microcode_file could be NULL and passed to get_microcode_size,
this was detected by klocwork scan.
Signed-off-by: Selma Bensaid <selma.bensaid@intel.com>
Change-Id: Ibb3d49ab18d8c26bbf5d6bf6bdf1bf91137f5736
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58233
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/alderlake/lockdown.c')
0 files changed, 0 insertions, 0 deletions