Re: [Qemu-devel] [PATCH] usb: check USB configuration descriptor object

2016-02-16 Thread Gerd Hoffmann
On Do, 2016-02-11 at 16:31 +0530, P J P wrote: > 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 che

[Qemu-devel] [PATCH] usb: check USB configuration descriptor object

2016-02-11 Thread P J P
From: Prasad J Pandit 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: Q