diff options
author | Nickolai Zeldovich <nickolai@csail.mit.edu> | 2012-11-12 17:59:49 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-11-15 10:27:14 +0100 |
commit | 1a89b60885ccc2abf7cc50275fcee70d0347425e (patch) | |
tree | f85364e7bec058b9142da77a1b0207237f3e42ef /hw/m25p80.c | |
parent | ce34cf72fe508b27a78f83c184142e8d1e6a048a (diff) | |
download | hqemu-1a89b60885ccc2abf7cc50275fcee70d0347425e.zip hqemu-1a89b60885ccc2abf7cc50275fcee70d0347425e.tar.gz |
slirp: Don't crash on packets from 0.0.0.0/8.
LWIP can generate packets with a source of 0.0.0.0, which triggers an
assertion failure in arp_table_add(). Instead of crashing, simply return
to avoid adding an invalid ARP table entry.
Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/m25p80.c')
0 files changed, 0 insertions, 0 deletions