]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: Fixed potentially NULL pointer accessing
authorChasel, Chiu <chasel.chiu@intel.com>
Fri, 26 Oct 2018 07:12:33 +0000 (15:12 +0800)
committerChasel, Chiu <chasel.chiu@intel.com>
Mon, 29 Oct 2018 03:24:58 +0000 (11:24 +0800)
commitc09b254bdc6050cc8b580a26558f692f958645d6
tree6a453855ecf4e84ab31b3fe532d4cda923cbc737
parent70425456dae16fca23540936c8fb0d2b86776b97
IntelFsp2Pkg: Fixed potentially NULL pointer accessing

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1280

When copying IDT table in SecMain, the pointer might be
NULL so added the check to fix it.

Test: Verified on internal platform and boots successfully.

Cc: Jiewen Yao <Jiewen.yao@intel.com>
Cc: Desimone Nathaniel L <nathaniel.l.desimone@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
IntelFsp2Pkg/FspSecCore/SecMain.c