On Wed, 2 Feb 2005 22:55:26 -0800, Greg KH <[EMAIL PROTECTED]> wrote:

> > I am awfully sorry, but that patch contained a bug. The code dereferenced
> > cmd->back as if it were a pointer to a request even when it wasn't. It 
> > worked
> > by accident, because rq->flags overlapped with a zeroed memory in other 
> > case.
> > Here is a corrective patch.
> 
> Would this have caused an oops in driver binding?  I just got that on
> startup on one of my boxes in the ub driver and haven't taken the time
> yet to track this down.

If the random memory which it deferenced were nonzero, and one of probing
commands ended with a sense, the code would deliver the sense into an
unrelated part of memory, which were likely to oops. Did the patch fix it?
In my case, I was lucky not to see the problem (actually, unlucky, since
the patch went out).

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to