mirror_edk2/MdePkg/Library/UefiDevicePathLib
Eric Dong c3c9892c3b MdePkg UefiDevicePathLib: Validate before touch input buffer.
Current code not validate the input buffer before touch.
it may touch the buffer outside the validate scope. This
patch validate the input size big enough to touch the
first node.

Cc: Ruiyu NI <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
2016-11-09 17:49:17 +08:00
..
DevicePathFromText.c MdePkg: Replace UnicodeStrToAsciiStr() with UnicodeStrToAsciiStrS() 2016-06-21 12:46:23 +08:00
DevicePathToText.c MdePkg: Reinitialize twice-iterated VA_LIST in variadic function UefiDevicePathLibCatPrint() 2016-05-18 09:50:43 +08:00
DevicePathUtilities.c MdePkg UefiDevicePathLib: Validate before touch input buffer. 2016-11-09 17:49:17 +08:00
UefiDevicePathLib.c Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
UefiDevicePathLib.h MdePkg: Add bluetooth devicepath handling in device path library. 2015-05-06 02:41:37 +00:00
UefiDevicePathLib.inf MdePkg: Add UEFI2.5 Ramdisk device path definition 2015-07-08 05:49:07 +00:00
UefiDevicePathLib.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00
UefiDevicePathLibOptionalDevicePathProtocol.c Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
UefiDevicePathLibOptionalDevicePathProtocol.inf MdePkg/UefiDevicePathLib:Fix link error due to missing RamDisk GUIDs 2015-07-09 08:51:54 +00:00
UefiDevicePathLibOptionalDevicePathProtocol.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00