]> Git Repo - qemu.git/commit - hw/net/e1000.c
e1000: switch to use qemu_receive_packet() for loopback
authorJason Wang <[email protected]>
Wed, 24 Feb 2021 04:13:22 +0000 (12:13 +0800)
committerJason Wang <[email protected]>
Mon, 15 Mar 2021 08:41:22 +0000 (16:41 +0800)
commit1caff0340f49c93d535c6558a5138d20d475315c
treec7bfab49856f2cb976c35e7f8faffd796bcdec1b
parent705df5466c98f3efdd2b68d3b31dad86858acad7
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 <[email protected]>
Cc: [email protected]
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/e1000.c
This page took 0.025712 seconds and 4 git commands to generate.