mirror of https://github.com/acidanthera/audk.git
885c3060c1
This commit will resolve the issue brought by r17733. StringBuffer1 = AllocateCopyPool ( MAX_STRING_LEN * sizeof (CHAR16), L"Configuration changed. Reset to apply it Now." ); The above using of AllocateCopyPool() will read contents out of the scope of the constant string. Potential risk for the constant 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: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17929 6f19259b-4bc3-4df7-8a09-765794883524 |
||
---|---|---|
.. | ||
BdsBoot.c | ||
BdsConnect.c | ||
BdsConsole.c | ||
BdsMisc.c | ||
DevicePath.c | ||
GenericBdsLib.inf | ||
GenericBdsLib.uni | ||
GenericBdsStrings.uni | ||
InternalBdsLib.h | ||
Performance.c | ||
String.c | ||
String.h |