Re: [PATCH 1/1] USBHID: correct start/stop cycle
From: Jiri Kosina <hidden>
Date: 2008-11-11 22:53:04
Also in:
lkml
From: Jiri Kosina <hidden>
Date: 2008-11-11 22:53:04
Also in:
lkml
On Sat, 1 Nov 2008, Jiri Slaby wrote:
`stop' left out usbhid->urb* pointers and so the next `start' thought it needs to allocate nothing and used the memory pointers previously pointed to. This led to memory corruption and device malfunction. Also don't forget to clear disconnect flag on start which was left set by the previous `stop'.
Applied, thanks Jiri. -- Jiri Kosina SUSE Labs