Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Gary Ching-Pang Lin dfd3119ab2 OvmfPkg/SecureBootConfigDxe: Avoid illegal access
When enrolling the certificate from a file, the suffix check function
check the last 4 characters to filter out non-DER files. However,
if the length of the file name is less than 4, the address prior to
the file name will be accessed while it shouldn't. This commit checks
the length of the file name to avoid illegal access.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14556 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-18 07:04:02 +00:00
AppPkg - For writing sin_port, htons() must be used. 2013-02-08 21:34:26 +00:00
ArmPkg ArmPkg/ArmV7Mmu.h: Fixed XN bit conversion from section to small/large page format 2013-08-06 11:00:15 +00:00
ArmPlatformPkg ArmPlatformPkg: PrePei Cache disable and invalidate. 2013-08-06 17:41:53 +00:00
BaseTools Roll back the changes for BaseTools 2012-06-25 02:24:12 +00:00
BeagleBoardPkg ArmPlatform/ArmPlatformLib: Introduced ArmPlatformPeiBootAction() 2013-05-10 12:49:10 +00:00
Conf Adding top-level Conf directory for next generation of EDK II build infrastructure tools. 2007-06-20 19:33:23 +00:00
CryptoPkg Enhance error handling code after calling BIO_new in BaseCryptLib. 2013-08-07 08:11:14 +00:00
DuetPkg Update NT32/Duet platform to use new display engine and browser. 2013-08-12 02:25:59 +00:00
EdkCompatibilityPkg Add Aarch64 support to EdkCompatibilityPkg. 2013-08-08 08:55:02 +00:00
EdkShellBinPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
EdkShellPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
EmbeddedPkg EmbeddedPkg/MmcDxe: Removed redundant CMD12 calls from MMC 2013-08-06 12:10:25 +00:00
EmulatorPkg EmulatorPkg: Use FaultTolerantWritePei driver. 2013-07-03 09:24:07 +00:00
FatBinPkg Add the AArch64 FAT binary to the EDK2 repository. 2013-08-15 01:18:05 +00:00
IntelFrameworkModulePkg Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib. 2013-07-26 03:14:08 +00:00
IntelFrameworkPkg Fill the ImageHandle and DriverBindingHandle field of Driver Binding Protocol before installing the Driver Binding Protocol instance. 2013-07-10 02:06:49 +00:00
MdeModulePkg Change the PciBusDxe driver to install the PCI enumeration complete GUID in the PCI host bridge handle to follow PI Spec 1.3. 2013-08-16 09:20:58 +00:00
MdePkg MdePkg/IndustryStandard: Update Atapi.h to comply with latest ATA8-ACS spec (d2015r7) 2013-08-16 14:30:11 +00:00
NetworkPkg Roll back the changes in revision 14294 since it will cause iSCSI security authentication issue. 2013-07-10 05:52:58 +00:00
Nt32Pkg Update NT32/Duet platform to use new display engine and browser. 2013-08-12 02:25:59 +00:00
Omap35xxPkg EmbeddedPkg: Introduced a separate SerialPortExtLib library 2013-03-12 00:40:11 +00:00
OptionRomPkg Ax88772: Add logic to separate packet, fix MTU issue. Ax88772b: Fix driver model unload function, fix SCT test failures. 2013-06-27 05:07:29 +00:00
OvmfPkg OvmfPkg/SecureBootConfigDxe: Avoid illegal access 2013-08-18 07:04:02 +00:00
PcAtChipsetPkg Fix PciHostBridge driver to return success for EfiPciHostBridgeEndEnumeration to fix OVMF boot no display issue. 2013-07-22 07:35:51 +00:00
PerformancePkg Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib. 2013-07-26 03:14:08 +00:00
SecurityPkg MdeModulePkg/SecurityPkg Variable: If a preexisting variable is rewritten with different attributes, SetVariable() shall not modify the variable and shall return EFI_INVALID_PARAMETER. 2013-08-16 03:19:45 +00:00
ShellBinPkg ShellBinPkg/UefiShell: Updated Shell Binary for ARM architecture 2013-06-17 09:58:18 +00:00
ShellPkg ShellPkg: increase available size for PcdShellFileOperationSize 2013-08-08 22:31:54 +00:00
SourceLevelDebugPkg Updated connecting HOST version information from 1.3 to 1.3.1. 2013-05-08 08:29:11 +00:00
StdLib StdLib: Add Aarch64 support. 2013-07-23 18:51:51 +00:00
StdLibPrivateInternalFiles StdLib: Add internal use only header for interactive I/O. 2012-12-11 21:03:57 +00:00
UefiCpuPkg Fix build issue on DDK3790 tool chain. 2013-02-05 01:35:29 +00:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
BuildNotes2.txt Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
edksetup.bat Added VS2010 support in edksetup script. 2012-04-10 07:45:35 +00:00
edksetup.sh Correct copyright year 2011-02-16 12:21:31 +00:00