Re: [edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix potential NULL pointer dereference

2018-01-14 Thread Yao, Jiewen
tar <star.z...@intel.com> > Subject: [edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix potential NULL > pointer > dereference > > The implementation of MdeModulePkg\Universal\Acpi\AcpiTableDxe reserves > first entry of RSDT/XSDT to FADT, the first entry value is 0 when FADT >

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix potential NULL pointer dereference

2018-01-14 Thread Star Zeng
The implementation of MdeModulePkg\Universal\Acpi\AcpiTableDxe reserves first entry of RSDT/XSDT to FADT, the first entry value is 0 when FADT is installed. So the RSDT/XSDT parsing code should check the entry value first before checking the table signature. Cc: Jiewen Yao