Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Paulo Alcantara dda74d6d62 EmulatorPkg/EmuSimpleFileSystemDxe: Fix incorrect return values upon allocation failure
In EmuSimpleFileSystemOpenVolume() function - in case an allocation failed
with AllocatePool() - EFI_UNSUPPORTED was being returned instead of
EFI_OUT_OF_RESOURCES, which is incorrect.

Even worse, in EmuSimpleFileSystemDriverBindingStart(), an unitiliasied
variable (Status) will be returned in case of an allocation failure with
AllocateZeroPool().

This patch fixes both issues by correctly returning EFI_OUT_OF_RESOURCES.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15615 6f19259b-4bc3-4df7-8a09-765794883524
2014-07-03 20:05:22 +00:00
AppPkg Enable the build command override the .DSC file contents to enable debug output and specify which debug messages are displayed. An example: 2013-11-19 02:37:37 +00:00
ArmPkg ArmPkg/BdsLib: Prevent memory leak whith TFTP 2014-07-01 09:27:19 +00:00
ArmPlatformPkg ARM Packages: Fixed missing braces (the warning was disabled by GCC) 2014-06-20 18:24:51 +00:00
BaseTools Sync BaseTool trunk (version r2670) into EDKII BaseTools. 2014-07-01 07:10:10 +00:00
BeagleBoardPkg ARM Packages: CRLF fixup 2014-02-12 15:30:34 +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 Fix build issues with Xcode in CryptoPkg and SecurityPkg. 2014-06-16 08:30:41 +00:00
DuetPkg Change PciIo::GetBarAttributes() to return unsupported for a unsupported bar even it's below 6 to follow the UEFI Spec. 2014-05-19 06:08:26 +00:00
EdkCompatibilityPkg Refine code to make it more safely. 2014-06-26 03:16:27 +00:00
EdkShellBinPkg New EdkShell binaries. 2014-01-10 04:57:57 +00:00
EdkShellPkg EdkShellPkg/ShellR64.patch: Adding missing files from the patch 2014-01-14 15:31:01 +00:00
EmbeddedPkg EmbeddedPkg/SerialDxe: Fixed the mixture of RETURN_STATUS and EFI_STATUS 2014-07-01 09:25:30 +00:00
EmulatorPkg EmulatorPkg/EmuSimpleFileSystemDxe: Fix incorrect return values upon allocation failure 2014-07-03 20:05:22 +00:00
FatBinPkg New FatDxe binary. 2014-01-10 02:44:43 +00:00
IntelFrameworkModulePkg Refine code to make it more safely. 2014-06-26 01:39:25 +00:00
IntelFrameworkPkg Update IntelFrameworkPkg version: 0.92->0.93 2014-01-10 01:18:20 +00:00
MdeModulePkg Correct the default value for date opcode. 2014-07-02 05:54:41 +00:00
MdePkg Refine code to make it more safely. 2014-06-26 03:17:59 +00:00
NetworkPkg Refine code to make it more safely. 2014-06-25 05:44:37 +00:00
Nt32Pkg Follow UEFI spec to add the definition for EFI_SPECIFICATION_VERSION, and update other table version to refer to it. Remove the “/D TIANO_RELEASE_VERSION=0x00080006” option in Nt32Pkg DSC file, since it’s not used in source code. 2013-11-26 07:36:29 +00:00
Omap35xxPkg ARM Packages: Fixed missing braces (the warning was disabled by GCC) 2014-06-20 18:24:51 +00:00
OptionRomPkg Refine code to make it more safely. 2014-06-25 05:16:52 +00:00
OvmfPkg OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Fix GCC44 build failure. 2014-06-27 19:15:35 +00:00
PcAtChipsetPkg PcAtChipsetPkg: Enable timer interrupt through I/O APIC 2014-06-20 07:18:08 +00:00
PerformancePkg Refine code to make it more safely. 2014-06-26 03:18:44 +00:00
SecurityPkg SecurityPkg HashLibBaseCryptoRouterDxe/Tpm2DeviceLibRouterPei: Fixed GCC build failure after -Wno-missing-braces option in GCC removed. 2014-07-02 09:02:35 +00:00
ShellBinPkg ShellBinPkg: Updated ARM and AArch64 EFI Shell binaries 2014-05-07 12:58:55 +00:00
ShellPkg ShellPkg: Fix Ctrl+C support for dmpstore command. 2014-06-30 20:14:24 +00:00
SourceLevelDebugPkg Fix the potential address overflow issue when checking PE signature. 2014-06-30 06:13:53 +00:00
StdLib StdLib: StdLib/Malloc.c 2014-04-17 20:59:50 +00:00
StdLibPrivateInternalFiles EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Update ReadMe.txt in all packages. 2013-10-24 23:14:10 +00:00
UefiCpuPkg Fix the potential address overflow issue when checking PE signature. 2014-06-30 06:13:53 +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 Contributed-under: TianoCore Contribution Agreement 1.0 2014-06-18 09:01:33 +00:00
edksetup.sh edksetup.sh: Fix typo and return code 2014-01-30 19:26:53 +00:00