mirror_edk2/MdeModulePkg/Library/DxeNetLib
Fu Siyuan b07bbb4f73 MdeModulePkg/DxeNetLib: Check the actual packet size before trim data from Nbuf.
In NetbufTrim() function, the NetBuf TotalSize should be checked with 0 before
making the trim operation, otherwise the function will fall into infinite loop.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
2017-09-28 15:36:49 +08:00
..
DxeNetLib.c MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
DxeNetLib.inf MdeModulePkg: Add SMBIOS 3.0 support in NetLibGetSystemGuid. 2015-09-30 01:06:57 +00:00
DxeNetLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NetBuffer.c MdeModulePkg/DxeNetLib: Check the actual packet size before trim data from Nbuf. 2017-09-28 15:36:49 +08:00