diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-26 21:07:19 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-27 10:27:16 +0800 |
commit | c8ecaaf5e3d3f9b81d73f329501d3fa39739bd41 (patch) | |
tree | 062effae0303d093e3ee19f467d39027614384c2 /ShellPkg/Library/UefiShellDebug1CommandsLib/SerMode.c | |
parent | 96fcfdbfb068670b849a850bbed28ecad913af80 (diff) | |
download | edk2-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