]> git.ipfire.org Git - thirdparty/grub.git/commit
arp, icmp: Fix handling in case of oversized or invalid packets.
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 20 Mar 2015 20:14:23 +0000 (21:14 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 27 Mar 2015 11:18:25 +0000 (12:18 +0100)
commit63034d32612dd34f577605dfa8b417ee9144d8cb
tree6b954618fa198fcc0d08928bbe4d93e7b950f98f
parent5974d4ba65fc5ad9253857bf992ffd3c635baf2a
arp, icmp: Fix handling in case of oversized or invalid packets.

This restrict ARP handling to MAC and IP addresses but in practice we need
only this case anyway and other cases are very rar if exist at all. It makes
code much simpler and less error-prone.
grub-core/net/arp.c
grub-core/net/icmp.c
grub-core/net/netbuff.c
include/grub/net/netbuff.h