audk/MdeModulePkg/Universal
fanwang2 b1d4218a51 MdeModulePkg: Code logic optimization for Ip4Dxe driver
Move null check before set value to address to avoid null address dereferenced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <fan.wang@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17924 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-10 09:01:42 +00:00
..
Acpi MdeModulePkg AcpiTableDxe: Install config table at ACPI data change 2015-07-08 09:44:46 +00:00
BdsDxe MdeModulePkg: Add UNI file for BdsDxe driver. 2015-05-15 08:45:35 +00:00
BootManagerPolicyDxe MdeModulePkg: Add UNI files for BootManagerPolicyDxe driver. 2015-05-15 08:46:06 +00:00
CapsulePei MdeModulePkg/Universal/CapsulePei: Use safe string functions to refine code. 2015-07-01 08:22:31 +00:00
CapsuleRuntimeDxe MdeModulePkg/Universal/CapsuleRuntimeDxe: Use safe string functions to refine code. 2015-07-01 08:23:30 +00:00
Console MdeModulePkg: Fix TerminalDxe VS2013 build failure 2015-07-10 03:21:09 +00:00
DebugPortDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DebugSupportDxe MdeModulePkg DebugSupportDxe: Fix build error with GNU assembler 2014-12-17 05:16:48 +00:00
DevicePathDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Disk MdeModulePkg/PartitionDxe: Fix media probe 2015-07-07 11:26:27 +00:00
DisplayEngineDxe MdeModulePkg:Refine the function comments 2015-07-07 08:17:28 +00:00
DriverHealthManagerDxe MdeModulePkg: Add UNI files for DriverHealthManagerDxe driver. 2015-05-15 08:46:34 +00:00
DriverSampleDxe MdeModulePkg:Use safe string functions 2015-06-29 02:36:31 +00:00
EbcDxe Fix X64 native function call prolog. Prepare space for at least 4 arguments, 2014-09-22 05:54:41 +00:00
EsrtDxe MdeModulePkg: Update coding style 2015-05-20 02:19:17 +00:00
FaultTolerantWriteDxe MdeModulePkg: Cleanup gEfiSmmAccess2ProtocolGuid reference. 2015-02-05 00:59:56 +00:00
FaultTolerantWritePei MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
FvSimpleFileSystemDxe MdeModulePkg/FvSimpleFileSystemDxe: Support file opening with no '.efi' 2015-07-09 10:34:27 +00:00
HiiDatabaseDxe MdeModulePkg:Modify the incorrect DestStr length in safe string functions 2015-07-07 04:37:07 +00:00
HiiResourcesSampleDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LegacyRegion2Dxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LockBox/SmmLockBox MdeModulePkg: Cleanup gEfiSmmAccess2ProtocolGuid reference. 2015-02-05 00:59:56 +00:00
MemoryTest MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Metronome MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
MonotonicCounterRuntimeDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Network MdeModulePkg: Code logic optimization for Ip4Dxe driver 2015-07-10 09:01:42 +00:00
PCD MdeModulePkg/Universal/PCD: Use safe string functions to refine code. 2015-07-01 08:27:03 +00:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PlatformDriOverrideDxe MdeModulePkg/Universal/PlatformDriOverrideDxe: Use safe string functions to refine code. 2015-07-01 08:28:13 +00:00
PrintDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PropertiesTableAttributesDxe MdeModulePkg: Refine code to make it more readable. 2015-07-03 01:39:06 +00:00
ReportStatusCodeRouter MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
ResetSystemRuntimeDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SectionExtractionDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SectionExtractionPei MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SecurityStubDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SetupBrowserDxe MdeModulePkg: Remove gZeroGuid definition in SetupBrowserDxe 2015-07-07 02:55:34 +00:00
SmbiosDxe MdeModulePkg/Universal/SmbiosDxe: Use safe string functions to refine code. 2015-07-01 08:32:29 +00:00
StatusCodeHandler MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
TimestampDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Variable MdeModulePkg: Remove mZeroGuid definition in Universal/Variable/RuntimeDxe 2015-07-07 02:56:01 +00:00
WatchdogTimerDxe MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00