summaryrefslogtreecommitdiffstats
path: root/tests/virtio-9p-test.c
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2016-02-11 16:31:20 +0530
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:30 -0600
commite37cc4812282c42a304cde9d83a236f5ac1f26a7 (patch)
treea05c8779cf4196b981dd0e066220b318e3c12873 /tests/virtio-9p-test.c
parentab92eece123840398bfbdcfef087d35d26d6bf54 (diff)
downloadhqemu-e37cc4812282c42a304cde9d83a236f5ac1f26a7.zip
hqemu-e37cc4812282c42a304cde9d83a236f5ac1f26a7.tar.gz
usb: check USB configuration descriptor object
When processing remote NDIS control message packets, the USB Net device emulator checks to see if the USB configuration descriptor object is of RNDIS type(2). But it does not check if it is null, which leads to a null dereference error. Add check to avoid it. Reported-by: Qinghao Tang <luodalongde@gmail.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-id: 1455188480-14688-1-git-send-email-ppandit@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/virtio-9p-test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud