Go to file
Ard Biesheuvel 12a37b2ae1 MdePkg/BaseMemoryLib*: check for zero length in ZeroMem ()
Unlike other string functions in this library, ZeroMem () does not
return early when the length of the input buffer is 0. So add the
same to ZeroMem () as well, for all implementations of BaseMemoryLib
living under MdePkg/

This fixes an issue with the ARM implementation of BaseMemoryLibOPtDxe,
whose InternalMemZeroMem code does not expect a length of 0, and always
writes at least a single byte.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-11-04 09:53:01 +00:00
AppPkg AppPkg: Update email and URL. 2016-10-26 09:34:34 -07:00
ArmPkg ArmPkg/CpuDxe: set DmaBufferAlignment according to CWG 2016-11-02 16:22:48 +00:00
ArmPlatformPkg ArmPlatformPkg/ArmVExpressFastBootDxe: eliminate deprecated string functions 2016-10-28 16:26:50 +01:00
ArmVirtPkg ArmVirtPkg/NorFlashQemuLib: rebase to ARRAY_SIZE() 2016-10-27 10:50:19 +02:00
BaseTools BaseTools: Fix the Windows GCC Build Failure with too long path 2016-11-04 14:57:09 +08:00
BeagleBoardPkg BeagleBoardPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES 2016-10-28 15:55:53 +01:00
Conf EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
CorebootModulePkg CorebootModulePkgPkg: Expose FindCbTag API from CbParseLib 2016-10-27 09:51:16 -07:00
CorebootPayloadPkg CorebootPayloadPkg: Add "Down" key to Boot Manager Menu 2016-10-27 10:23:01 -07:00
CryptoPkg CryptoPkg: Add PKCS5 PBKDF2 interface for password derivation. 2016-11-02 23:19:01 +08:00
DuetPkg DuetPkg/DuetBdsLib: rebase to ARRAY_SIZE() 2016-10-27 11:10:31 +02:00
EdkCompatibilityPkg EdkCompatibilityPkg/PrintLite: Fix ErrorPrint() wrong NULL char check 2016-11-03 10:28:47 +08:00
EdkShellBinPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EdkShellPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmbeddedPkg EmbeddedPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES 2016-10-28 15:54:00 +01:00
EmulatorPkg EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
FatBinPkg FatBinPkg: Change to 2-clause BSD license 2016-04-22 00:55:21 -07:00
FatPkg FatPkg/EnhancedFatDxe: rebase to ARRAY_SIZE() 2016-10-27 11:10:54 +02:00
IntelFrameworkModulePkg IntelFrameworkModulePkg/BootMaint: Show "Change Boot order" page correctly 2016-11-04 10:03:18 +08:00
IntelFrameworkPkg IntelFrameworkPkg: Fix typos in comments 2016-10-24 09:09:26 +08:00
IntelFsp2Pkg IntelFsp2Pkg: Removing FSP Data Table 2016-10-28 23:25:15 +08:00
IntelFsp2WrapperPkg IntelFsp2WrapperPkg: Add a PCD to control if signaling PciEnumerationComplete. 2016-10-28 07:46:42 +08:00
IntelFspPkg IntelFspPkg: Fix typos in comments 2016-10-24 09:26:28 +08:00
IntelFspWrapperPkg IntelFspWrapperPkg: Fix typos in comments 2016-10-24 09:26:30 +08:00
IntelSiliconPkg IntelSiliconPkg: Add SMBIOS data HOB GUID 2016-11-01 20:14:09 +08:00
MdeModulePkg MdeModulePkg/PCD: Fix PcdGetNextToken may get a wrong PCD token 2016-11-03 11:00:52 +08:00
MdePkg MdePkg/BaseMemoryLib*: check for zero length in ZeroMem () 2016-11-04 09:53:01 +00:00
NetworkPkg NetworkPkg: Check for NULL pointer before dereference it. 2016-10-31 16:04:02 +08:00
Nt32Pkg Nt32Pkg/WinNtSerialIoDxe: rebase to ARRAY_SIZE() 2016-10-27 11:10:58 +02:00
Omap35xxPkg EmbeddedPkg: remove unused PrePiHobListPointerLib 2016-10-28 13:51:35 +01:00
OptionRomPkg OptionRomPkg/AtapiPassThruDxe: rebase to ARRAY_SIZE() 2016-10-27 11:10:58 +02:00
OvmfPkg OvmfPkg/ResetVector: Remove the unused ASM ResetVector. 2016-11-03 18:06:36 -07:00
PcAtChipsetPkg PcAtChipsetPkg/HpetTimerDxe: Fix race condition in SetTimerPeriod() 2016-10-27 21:46:42 -07:00
PerformancePkg PerformancePkg/Dp_App: rebase to ARRAY_SIZE() 2016-10-27 11:10:59 +02:00
QuarkPlatformPkg QuarkPlatformPkg: Fix typos in comments 2016-10-25 13:44:03 -07:00
QuarkSocPkg QuarkSocPkg/Library: Remove extra UefiBaseType.h includes 2016-10-27 21:32:46 -07:00
SecurityPkg SecurityPkg/AuthVariableLib: rebase to ARRAY_SIZE() 2016-10-27 11:15:20 +02:00
ShellBinPkg ShellBinPkg Arm/AArch64 Shell binary update 2016-08-02 12:25:13 +02:00
ShellPkg ShellPkg: print only valid characters for file overwrite prompt 2016-10-31 08:21:05 -07:00
SourceLevelDebugPkg SourceLevelDebugPkg: Fix typos in comments 2016-10-24 09:10:15 +08:00
StdLib StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics 2016-08-09 10:10:12 +02:00
StdLibPrivateInternalFiles StdLib: Clarify and improve comments. 2016-01-06 00:31:42 +00:00
UefiCpuPkg UefiCpuPkg PeiCpuExceptionHandlerLib: Add the missing nasm files in INF 2016-11-03 10:28:40 +08:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
Vlv2DeviceRefCodePkg Vlv2DeviceRefCodePkg/ValleyView2Soc: Remove the unused code 2016-08-03 11:02:19 +08:00
Vlv2TbltDevicePkg Vlv2TbltDevicePkg/SmBiosMiscDxe: rebase to ARRAY_SIZE() 2016-10-27 11:15:21 +02:00
.gitignore EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
BuildNotes2.txt BaseTools: Updated BuildNotes URLs 2016-03-25 09:46:44 +08:00
Edk2Setup.bat Edk2Setup.bat: Support building platforms with Python source 2016-10-24 10:49:19 +08:00
edksetup.bat edksetup.bat: make sure BASE_TOOLS_PATH be set correctly 2016-10-26 13:45:45 +08:00
edksetup.sh edksetup.sh, BaseTools/BuildEnv: add --reconfig support 2016-10-24 13:53:16 +01:00
Maintainers.txt Maintainers.txt: Change maintainer of VLV2 packages. 2016-10-27 21:08:23 +08:00