]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Check for the max DHCP packet length before use it.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 16 Nov 2016 05:36:37 +0000 (13:36 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Fri, 18 Nov 2016 08:30:37 +0000 (16:30 +0800)
commit4f6b33b460226bc1a54d8af2c0f4fe195f2f04ce
tree124ec4cd492275ea95a6f7b47f744f11971a3bce
parentbd5ef82698e5e5931ae46e763187a472ce76b661
MdeModulePkg: Check for the max DHCP packet length before use it.

This patch updates the PXE driver to drop the input DHCP packet if it
exceed the maximum length.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c
MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.h