diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2016-02-17 00:23:40 +0530 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-02-23 10:38:00 +0100 |
commit | 64c9bc181fc78275596649f591302d72df2d3071 (patch) | |
tree | 6b465377d9b401ac04baaf8768ea541ed51875c3 /hw/usb/ccid-card-emulated.c | |
parent | 14ec7b2c5bc0e7b0f7097211d349b57450f09d02 (diff) |
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 'hw/usb/ccid-card-emulated.c')
0 files changed, 0 insertions, 0 deletions