]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/TcpDxe: Check FragmentBuffer for NULL before use
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 22 Dec 2017 03:28:42 +0000 (11:28 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 26 Dec 2017 08:43:24 +0000 (16:43 +0800)
commit8b40f01a3f03c16897a01b827b7e3e8943274aac
tree07a8605adecd33d2a3b347318cec622a64d67300
parent5644e5cecebeeefea90cfda093df68e0aa6e0361
NetworkPkg/TcpDxe: Check FragmentBuffer for NULL before use

According the Spec, the FragmentBuffers in FragmentTable are allocated
by the application when calling Receive() function. This patch is to
check whether the FragmentBuffer is valid or not.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wang Fan <fan.wang@intel.com>
Cc: Ye Ting <ting.ye@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>
NetworkPkg/TcpDxe/TcpMain.c