Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ShellPkg: Fix 'ping' command Ip4 receive flow.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2032 'ping' command's receive flow utilizes a single Rx token which it attempts to reuse before recycling the previously received packet. This causes a situation where under ICMP traffic, Ping6OnEchoReplyReceived() function will receive an already recycled packet with EFI_SUCCESS token status and finally dereference invalid pointers from RxData structure. Cc: Ray Ni <[email protected]> Cc: Zhichao Gao <[email protected]> Signed-off-by: Maciej Rabeda <[email protected]> Reviewed-by: Siyuan Fu <[email protected]> Acked-by: Zhichao Gao <[email protected]>
- Loading branch information