audk/IntelFrameworkPkg/Library/FrameworkUefiLib
Hao Wu 4129b837ae IntelFrameworkPkg FrameworkUefiLib: Fix ASSERT in CatVSPrint
This commit will resolve issue brought by r17740.

BufferToReturn = AllocateCopyPool(SizeRequired, String);

The above using of AllocateCopyPool() will cause ASSERT if 'String' is
NULL. Therefore, proper check for 'String' is needed.

The above using of AllocateCopyPool() will read contents out of the scope
of 'String'. Potential risk for 'String' allocated at the boundary of
memory region.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17906 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-10 01:08:05 +00:00
..
Console.c Enhance CreatePopup to call ReadKeyStroke() before calling WaitForEvent(). This can handle the case when in lazy ConIn mode. 2012-11-15 06:31:43 +00:00
FrameworkUefiLib.inf IntelFrameworkPkg: INF/DEC file updates to EDK II packages 2014-08-28 03:19:58 +00:00
FrameworkUefiLib.uni IntelFrameworkPkg: Convert non DOS format files to DOS format 2014-09-03 08:37:09 +00:00
UefiDriverModel.c 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
UefiLib.c Sync FrameworkUefiLib with the MdePkg UefiLib 2010-06-14 23:32:07 +00:00
UefiLibInternal.h Sync FrameworkUefiLib with the MdePkg UefiLib 2010-06-14 23:32:07 +00:00
UefiLibPrint.c IntelFrameworkPkg FrameworkUefiLib: Fix ASSERT in CatVSPrint 2015-07-10 01:08:05 +00:00
UefiNotTiano.c Update the copyright notice format 2010-04-23 15:52:13 +00:00