]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/DxeHttpLib: Add boundary condition check.
authorJiaxin Wu <jiaxin.wu@intel.com>
Mon, 25 Dec 2017 08:17:34 +0000 (16:17 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 27 Dec 2017 08:28:35 +0000 (16:28 +0800)
commitb2a73b5b3cc6e3edc660384cd0d3d40fe04153b0
tree0cbbfe95e4ad3a3316b09d5fba2822a6e4a76a37
parent786a4d1921d61d809af7f12020264327df409f3b
MdeModulePkg/DxeHttpLib: Add boundary condition check.

v2:
* Fix GCC the build error.

This patch is to add the boundary condition check to make sure
the accessed buffer is valid.

Cc: Gary Lin <glin@suse.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wang Fan <fan.wang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Tested-by: Gary Lin <glin@suse.com>
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c