audk/NetworkPkg/Dhcp6Dxe
Fu Siyuan 37b680116d NetworkPkg: Check received packet size before use it.
Arbitrary length of packet may be received from network, including the
packets with zero payload data or malformed protocol header. So the code
much check the actually received data size before using it. For example, in
current edk2 network stack, an zero payload UDP packet may cause the
platform ASSERT in NetbufFromExt() because of the zero fragment number.
This patch update the IpIoLib and UdpIoLib to check and discard the zero
payload data packet to avoid above assert. Some other network drivers are
also updated to check the packet size to guarantee the minimum length of
protocol header is received from upper layer driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
2016-04-01 13:30:23 +08:00
..
ComponentName.c NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
Dhcp6Driver.c Fix GCC build fail issue for MdeModulePkg and NetworkPkg. 2012-12-17 06:48:35 +00:00
Dhcp6Driver.h 1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support. 2012-12-13 06:47:06 +00:00
Dhcp6Dxe.inf NetworkPkg: Add a comment to pcd field 2015-07-15 02:44:12 +00:00
Dhcp6Dxe.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
Dhcp6DxeExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
Dhcp6Impl.c Fix several RFC compliance issues in DHCP6 driver as below. 2013-01-08 08:28:11 +00:00
Dhcp6Impl.h Fix several RFC compliance issues in DHCP6 driver as below. 2013-01-08 08:28:11 +00:00
Dhcp6Io.c NetworkPkg: Check received packet size before use it. 2016-04-01 13:30:23 +08:00
Dhcp6Io.h Add additional delay in DHCP6 InfoRequest interface to wait for link local address DAD to finish. 2012-08-22 08:01:19 +00:00
Dhcp6Utility.c NetworkPkg: Add IPv6 DUID configuration support using platform PCD. 2015-07-01 02:17:07 +00:00
Dhcp6Utility.h Fix several RFC compliance issues in DHCP6 driver as below. 2013-01-08 08:28:11 +00:00