Thread (15 messages) 15 messages, 6 authors, 2008-11-13

Re: [PATCH 1/1] USBHID: correct start/stop cycle

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help