diff options
author | Eric Dong <eric.dong@intel.com> | 2016-10-27 14:17:54 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-11-09 17:49:17 +0800 |
commit | c3c9892c3b4dafd1d0ccdc8e5e017d80e8c4361e (patch) | |
tree | 772bf3abcd2a57a0420c839b7c61e68a051c643c /AppPkg/AppPkg.dsc | |
parent | fb9405f9583a6ecf2048cdcc2e8d5621a3e68c75 (diff) | |
download | edk2-c3c9892c3b4dafd1d0ccdc8e5e017d80e8c4361e.tar.gz edk2-c3c9892c3b4dafd1d0ccdc8e5e017d80e8c4361e.tar.bz2 edk2-c3c9892c3b4dafd1d0ccdc8e5e017d80e8c4361e.zip |
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>
Diffstat (limited to 'AppPkg/AppPkg.dsc')
0 files changed, 0 insertions, 0 deletions