diff options
| author | Prasad J Pandit | 2016-02-16 19:53:40 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2016-02-23 10:38:00 +0100 |
| commit | 64c9bc181fc78275596649f591302d72df2d3071 (patch) | |
| tree | 6b465377d9b401ac04baaf8768ea541ed51875c3 /include/exec | |
| parent | tusb6010: move from hw/timer to hw/usb (diff) | |
| download | qemu-64c9bc181fc78275596649f591302d72df2d3071.tar.gz qemu-64c9bc181fc78275596649f591302d72df2d3071.tar.xz qemu-64c9bc181fc78275596649f591302d72df2d3071.zip | |
usb: check RNDIS message length
When processing remote NDIS control message packets, the USB Net
device emulator uses a fixed length(4096) data buffer. The incoming
packet length could exceed this limit. Add a check to avoid it.
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 1455648821-17340-2-git-send-email-ppandit@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
