diff options
author | Jason Wang | 2021-02-24 05:13:22 +0100 |
---|---|---|
committer | Jason Wang | 2021-03-15 09:41:22 +0100 |
commit | 1caff0340f49c93d535c6558a5138d20d475315c (patch) | |
tree | c7bfab49856f2cb976c35e7f8faffd796bcdec1b /hw/net/tulip.c | |
parent | net: introduce qemu_receive_packet() (diff) | |
download | qemu-1caff0340f49c93d535c6558a5138d20d475315c.tar.gz qemu-1caff0340f49c93d535c6558a5138d20d475315c.tar.xz qemu-1caff0340f49c93d535c6558a5138d20d475315c.zip |
e1000: switch to use qemu_receive_packet() for loopback
This patch switches to use qemu_receive_packet() which can detect
reentrancy and return early.
This is intended to address CVE-2021-3416.
Cc: Prasad J Pandit <ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/tulip.c')
0 files changed, 0 insertions, 0 deletions