Changes between PATCH v1: 1. Replace Buf = AllocateZeroPool (size) followed by Strcpy (Buf, Source) with Buf = AllocateCopyPool (size, Source) 2. Replace unnecessary usage of StrnCpyS/CatS with StrCpyS/CatS 3. The CopyMem() usage in file DevicePathFromText.c for the first patch is a mistake. It's been fixed in this patch.
Hao Wu (2): MdePkg UefiDevicePathLib: Remove unsafe string functions MdePkg UefiLib: Use safe string functions MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c | 17 +++++++++++++---- MdePkg/Library/UefiLib/Console.c | 6 +++--- MdePkg/Library/UefiLib/UefiLibPrint.c | 8 ++------ 3 files changed, 18 insertions(+), 13 deletions(-) -- 1.9.5.msysgit.0 ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel