diff options
| author | Prasad J Pandit <pjp@fedoraproject.org> | 2015-11-20 11:50:31 +0530 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2015-12-07 21:43:48 +0800 |
| commit | 837f21aacf5a714c23ddaadbbc5212f9b661e3f7 (patch) | |
| tree | 62f3850f076bb0ba98ffb6594abeb4d30122f415 /scripts/qemu-gdb.py | |
| parent | 9596ef7c7b8528bedb240792ea1fb598543ad3c4 (diff) | |
| download | focaccia-qemu-837f21aacf5a714c23ddaadbbc5212f9b661e3f7.tar.gz focaccia-qemu-837f21aacf5a714c23ddaadbbc5212f9b661e3f7.zip | |
net: pcnet: add check to validate receive data size(CVE-2015-7504)
In loopback mode, pcnet_receive routine appends CRC code to the receive buffer. If the data size given is same as the buffer size, the appended CRC code overwrites 4 bytes after s->buffer. Added a check to avoid that. Reported by: Qinghao Tang <luodalongde@gmail.com> Cc: qemu-stable@nongnu.org Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions