Skip to content
Commit 5519724a authored by Mauro Matteo Cascella's avatar Mauro Matteo Cascella Committed by Jason Wang
Browse files

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: default avatarZiming Zhang <ezrakiez@gmail.com>
Signed-off-by: default avatarMauro Matteo Cascella <mcascell@redhat.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent e219d309
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment