diff options
author | Mauro Matteo Cascella | 2020-07-10 11:19:41 +0200 |
---|---|---|
committer | Jason Wang | 2020-07-21 15:30:39 +0200 |
commit | 5519724a13664b43e225ca05351c60b4468e4555 (patch) | |
tree | 401da5be376e55b6477d4bc67eabe244443b28dd /hw/net/i82596.c | |
parent | hw/net: Added plen fix for IPv6 (diff) | |
download | qemu-5519724a13664b43e225ca05351c60b4468e4555.tar.gz qemu-5519724a13664b43e225ca05351c60b4468e4555.tar.xz qemu-5519724a13664b43e225ca05351c60b4468e4555.zip |
hw/net/xgmac: Fix buffer overflow in xgmac_enet_send()
A buffer overflow issue was reported by Mr. Ziming Zhang, CC'd here. It
occurs while sending an Ethernet frame due to missing break statements
and improper checking of the buffer size.
Reported-by: Ziming Zhang <ezrakiez@gmail.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/i82596.c')
0 files changed, 0 insertions, 0 deletions