Re: [Qemu-devel] [PATCH] usb: ohci avoid multiple eof timers

2016-02-16 Thread P J P
Hello Gerd, +-- On Tue, 16 Feb 2016, Gerd Hoffmann wrote --+ | Can you try the attached patch instead? Yes, this one works too. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F

Re: [Qemu-devel] [PATCH] usb: ohci avoid multiple eof timers

2016-02-16 Thread Gerd Hoffmann
On Di, 2016-02-16 at 15:34 +0530, P J P wrote: > When transitioning an OHCI controller to the OHCI_USB_OPERATIONAL > state, it creates an eof timer object in 'ohci_bus_start'. > It does not check if one already exists. This results in memory > leakage and null dereference issue. Add a check to avoi

Re: [Qemu-devel] [PATCH] usb: ohci avoid multiple eof timers

2016-02-16 Thread Laurent Vivier
On 16/02/2016 11:04, P J P wrote: > From: Prasad J Pandit > > When transitioning an OHCI controller to the OHCI_USB_OPERATIONAL > state, it creates an eof timer object in 'ohci_bus_start'. > It does not check if one already exists. This results in memory > leakage and null dereference issue. Ad