Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Laszlo Ersek a1848bc088 ArmPkg/DefaultExceptionHandlerLib: replace AsciiStrCat() with AsciiStrCatS()
AsciiStrCat() is deprecated / disabled under the
DISABLE_NEW_DEPRECATED_INTERFACES feature test macro.

The caller of CpsrString() is required to pass in "ReturnStr" with 32
CHAR8 elements. (DefaultExceptionHandler() complies with this.) "Str" is
used to build "ReturnStr" gradually. Just before calling AsciiStrCat(),
"Str" points to the then-terminating NUL character in "ReturnStr".

The difference (Str - ReturnStr) gives the number of non-NUL characters
we've written thus far, hence (32 - (Str - ReturnStr)) yields the number
of remaining bytes in ReturnStr, including the ultimately terminating NUL
character.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Michael Zimmermann <sigmaepsilon92@gmail.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=164
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=165
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2016-10-25 10:46:42 +02:00
AppPkg
ArmPkg ArmPkg/DefaultExceptionHandlerLib: replace AsciiStrCat() with AsciiStrCatS() 2016-10-25 10:46:42 +02:00
ArmPlatformPkg ArmPlatformPkg/NorFlashDxe: eliminate void pointer arithmetic 2016-10-24 17:23:44 +01:00
ArmVirtPkg ArmVirtPkg/PlatformBootManagerLib: eliminate unchecked PcdSetXX() calls 2016-10-25 10:46:38 +02:00
BaseTools edksetup.sh, BaseTools/BuildEnv: add --reconfig support 2016-10-24 13:53:16 +01:00
BeagleBoardPkg BeagleBoardPkg: remove dependency on ArmPkg/BaseMemoryLibStm 2016-10-24 16:00:15 +01:00
Conf
CorebootModulePkg CorebootModulePkg/SecCore: Adding NASM files in SecCore module 2016-08-03 17:20:17 -07:00
CorebootPayloadPkg CorebootPayloadPkg/PciHostBridgeLib: Fix the wrong PCI resource limit 2016-10-18 22:21:53 -07:00
CryptoPkg CryptoPkg/OpensslLib: Upgrade OpenSSL version to 1.0.2j 2016-09-30 09:18:45 +08:00
DuetPkg DuetPkg DxeIpl and EfiLdr: Add the missing EFIAPI for the function 2016-10-12 20:35:11 +08:00
EdkCompatibilityPkg EdkCompatibilityPkg: Fix typos in comments 2016-10-21 16:40:50 +08:00
EdkShellBinPkg
EdkShellPkg
EmbeddedPkg EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +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/FatPei: Use PcdRecoveryFileName PCD. 2016-10-12 09:15:25 +08:00
IntelFrameworkModulePkg IntelFrameworkModulePkg: Fix typos in comments 2016-10-24 09:09:06 +08:00
IntelFrameworkPkg IntelFrameworkPkg: Fix typos in comments 2016-10-24 09:09:26 +08:00
IntelFsp2Pkg IntelFsp2Pkg: Fix typos in comments 2016-10-24 09:26:31 +08:00
IntelFsp2WrapperPkg IntelFsp2WrapperPkg: Fix a typo in the comment 2016-10-24 09:26:32 +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: Fixed bug in IgdOpregion spec 2016-10-18 03:32:41 -07:00
MdeModulePkg MdeModulePkg LoadFileOnFv2: Correct the parameter name in function comment 2016-10-25 11:53:59 +08:00
MdePkg MdePkg/DebugLib.h: add ASSERT_RETURN_ERROR() 2016-10-25 10:46:07 +02:00
NetworkPkg NetworkPkg: Coding style refine for IpSecDxe 2016-10-21 09:03:32 +08:00
Nt32Pkg Nt32Pkg WinNtSimpleFileSystemDxe: Correct file length. 2016-10-11 10:17:25 +08:00
Omap35xxPkg BeagleBoardPkg EmbeddedPkg Omap35xxPkg: move to ArmBaseLib 2016-09-08 09:20:36 +01:00
OptionRomPkg OptionRomPkg: Fix GCC build failure 2016-10-09 11:03:27 +08:00
OvmfPkg OvmfPkg: disable deprecated interfaces 2016-10-25 10:46:26 +02:00
PcAtChipsetPkg PcAtChipsetPkg AcpiTimerLib: Clear bits [31:24] after reading by IoRead32() 2016-10-11 13:02:43 +08:00
PerformancePkg PerformancePkg DSC: Add build option to disable deprecated APIs 2016-08-08 11:00:09 +08:00
QuarkPlatformPkg QuarkPlatformPkg/RecoveryOemHookLib: Remove RecoveryOemHookLib 2016-10-07 15:00:35 -07:00
QuarkSocPkg QuarkSocPkg/QncSmmDispatcher: Fix use after free issue 2016-10-07 14:56:37 -07:00
SecurityPkg SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix coding style issue 2016-10-21 23:09:37 +08:00
ShellBinPkg ShellBinPkg Arm/AArch64 Shell binary update 2016-08-02 12:25:13 +02:00
ShellPkg ShellPkg: update ping to use timer service instead of timer arch protocol . 2016-10-25 15:16:43 +08: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
UefiCpuPkg UefiCpuPkg: Fix typos in comments 2016-10-24 09:09:48 +08:00
UnixPkg
Vlv2DeviceRefCodePkg Vlv2DeviceRefCodePkg/ValleyView2Soc: Remove the unused code 2016-08-03 11:02:19 +08:00
Vlv2TbltDevicePkg Vlv2TbltDevicePkg:Signal End of Dxe Event. 2016-09-14 13:22:07 +08:00
.gitignore
BuildNotes2.txt
Edk2Setup.bat Edk2Setup.bat: Support building platforms with Python source 2016-10-24 10:49:19 +08:00
Maintainers.txt Maintainers.txt: Add Giri as IntelFsp2*Pkg, IntelSiliconPkg maintainer 2016-09-08 23:36:45 +08:00
edksetup.bat edksetup.bat: Support --nt32 X64 2016-10-24 10:49:16 +08:00
edksetup.sh edksetup.sh, BaseTools/BuildEnv: add --reconfig support 2016-10-24 13:53:16 +01:00