On Thu, Jun 05, 2014 at 05:13:49PM +0100, Ben Hutchings wrote:
> On Thu, 2014-06-05 at 16:05 +0200, Johan Hovold wrote:
> > Fix NULL-pointer dereference when probing an interface with no
> > endpoints.
> >
> > These devices have two bulk endpoints per interface, but this avoids
> > crashing the kernel if a user forces a non-FTDI device to be probed.
> >
> > Note that the iterator variable was made unsigned in order to avoid
> > a maybe-uninitialized compiler warning for ep_desc after the loop.
> >
> > Fixes: 895f28badce9 ("USB: ftdi_sio: fix hi-speed device packet size
> > calculation")
> >
> > Reported-by: Mike Remski <[email protected]>
> > Tested-by: Mike Remski <[email protected]>
> > Cc: <[email protected]> # 2.3.61
> [...]
>
> Or maybe 2.6.31?
Thanks, I'll fix that up before applying. :)
Johan
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html