summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/SerMode.c
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-07-26 21:07:19 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-07-27 10:27:16 +0800
commitc8ecaaf5e3d3f9b81d73f329501d3fa39739bd41 (patch)
tree062effae0303d093e3ee19f467d39027614384c2 /ShellPkg/Library/UefiShellDebug1CommandsLib/SerMode.c
parent96fcfdbfb068670b849a850bbed28ecad913af80 (diff)
downloadedk2-platforms-c8ecaaf5e3d3f9b81d73f329501d3fa39739bd41.tar.xz
PcAtChipsetPkg/PcRtc: Fix a NULL pointer deference issue
When a platform which doesn't support ACPI 1.0 (no XSDT) and FADT is not produced at the first time when ACPI table is published, GetCenturyRtcAddress() unconditionally deference Rsdp->RsdtAddress but Rsdp->RsdtAddress is 0 in this case. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SerMode.c')
0 files changed, 0 insertions, 0 deletions