audk/MdeModulePkg/Universal
Star Zeng efef6ad6d7 MdeModulePkg AcpiTableDxe: Use Rsdt to check against NULL
Some static scan tool may regard CurrentRsdtEntry to be potentially
referenced to NULL pointer if CurrentRsdtEntry == NULL is used in
the right above if condition judgment.

        CopyMem (CurrentRsdtEntry, CurrentRsdtEntry + 1, (*NumberOfTableEntries - Index) * sizeof (UINT32));

It is introduced by commit f9bbb8d9c3.
To avoid it and have same style with
"((Xsdt == NULL) || CurrentTablePointer64 == (UINT64) (UINTN) Table->Table)",
use Rsdt instead of CurrentRsdtEntry to check against NULL.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Shumin Qiu <shumin.qiu@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
2016-03-08 18:05:16 +08:00
..
Acpi MdeModulePkg AcpiTableDxe: Use Rsdt to check against NULL 2016-03-08 18:05:16 +08:00
BdsDxe MdeModulePkg BdsDxe: Change file format which the existed folder has mixed file format. 2015-12-16 03:23:37 +00:00
BootManagerPolicyDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
CapsulePei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
CapsuleRuntimeDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Console MdeModulePkg: TerminalDxe: select the UART's default receive FIFO depth 2016-01-21 00:29:12 +00:00
DebugPortDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DebugSupportDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DevicePathDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Disk MdeModulePkg RamDiskDxe: Install Block I/O 2 Protocol on RAM disk devices 2016-02-29 13:51:19 +08:00
DisplayEngineDxe MdeModulePkg/DisplayEngineDxe: Refine the coding style 2016-03-04 14:03:25 +08:00
DriverHealthManagerDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DriverSampleDxe MdeModulePkg: Add submitted callback test case in DriverSample 2016-02-25 14:42:25 +08:00
EbcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
EsrtDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
FaultTolerantWriteDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
FaultTolerantWritePei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
FileExplorerDxe MdeModulePkg FileExplorerDxe: Change file format which has mixed file format. 2015-12-16 03:22:39 +00:00
FvSimpleFileSystemDxe MdeModulePkg/FvSimpleFs: don't open DevicePath with BY_DRIVER mode 2016-03-03 15:50:19 +08:00
HiiDatabaseDxe MdeModulePkg: Make HII configuration settings available to OS runtime 2016-03-04 14:04:43 +08:00
HiiResourcesSampleDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
LegacyRegion2Dxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
LockBox/SmmLockBox MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
MemoryTest MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Metronome MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
MonotonicCounterRuntimeDxe MdeModulePkg: Minor comments update to GetNextHighMonotonicCount() 2016-01-29 09:26:49 +00:00
Network MdeModulePkg: Fix IPv4 double free 2016-03-04 15:20:58 +08:00
PCD MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PlatformDriOverrideDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PrintDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PropertiesTableAttributesDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
RegularExpressionDxe MdeModulePkg: RegularExpressionDxe: support free(NULL) 2016-02-26 18:30:14 +01:00
ReportStatusCodeRouter MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
ResetSystemRuntimeDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SectionExtractionDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SectionExtractionPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SecurityStubDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SerialDxe MdeModulePkg: SerialDxe: sync EFI_SERIAL_IO_MODE.Timeout with the spec 2016-01-21 00:29:07 +00:00
SetupBrowserDxe MdeModulePkg: Add new HII action type EFI_BROWSER_ACTION_SUBMITTED 2016-02-25 14:42:24 +08:00
SmbiosDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SmbiosMeasurementDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
StatusCodeHandler MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
TimestampDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Variable MdeModulePkg Variable: Minor update to the Data parameter for GetVariable() 2016-01-29 09:15:43 +00:00
WatchdogTimerDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00