audk/ArmPkg/Include/Library
Olivier Martin d8dc9f0af5 ArmPkg: Fixed GetEnvironmentVariable() when the UEFI Variable did not exist
The function was allocating a buffer for the read value from the UEFI Variable.
But it was returning the pointer of the default value when the variable was
not present.
It could cause error when the default value and the returned value were free
when these addresses were the same (double FreePool on the same address).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15427 6f19259b-4bc3-4df7-8a09-765794883524
2014-04-02 17:32:29 +00:00
..
ArmArchTimerLib.h ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmCpuLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmDisassemblerLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmGicLib.h ARM Packages: Renamed PL390Gic driver into ArmGic driver 2013-10-29 06:36:34 +00:00
ArmLib.h ArmPkg/ArmLib: Added helper functions for accessing CPU ACTLR 2014-03-26 19:31:01 +00:00
ArmSmcLib.h ArmPkg: Move ArmSmcLib from ArmPlatformLib to ArmPkg 2013-03-06 00:01:49 +00:00
BdsLib.h ArmPkg: Fixed GetEnvironmentVariable() when the UEFI Variable did not exist 2014-04-02 17:32:29 +00:00
DefaultExceptionHandlerLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
SemihostLib.h ArmPkg: Fixed unsigned type to be architecture independent 2013-03-12 00:50:46 +00:00
UncachedMemoryAllocationLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00