summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchaojianhu2016-08-09 05:52:54 +0200
committerJason Wang2016-08-09 09:27:18 +0200
commita0d1cbdacff5df4ded16b753b38fdd9da6092968 (patch)
tree6b8917d16c174baeb34e5dd8ceec838cdaf2dca2 /scripts
parentnet: vmxnet3: check for device_active before write (diff)
downloadqemu-a0d1cbdacff5df4ded16b753b38fdd9da6092968.tar.gz
qemu-a0d1cbdacff5df4ded16b753b38fdd9da6092968.tar.xz
qemu-a0d1cbdacff5df4ded16b753b38fdd9da6092968.zip
hw/net: Fix a heap overflow in xlnx.xps-ethernetlite
The .receive callback of xlnx.xps-ethernetlite doesn't check the length of data before calling memcpy. As a result, the NetClientState object in heap will be overflowed. All versions of qemu with xlnx.xps-ethernetlite will be affected. Reported-by: chaojianhu <chaojianhu@hotmail.com> Signed-off-by: chaojianhu <chaojianhu@hotmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions