On 09/29/11 12:06, Stefan Sperling wrote:
On Fri, Feb 18, 2011 at 03:44:55AM +, Jacob Meuser wrote:
at line 190, if nports == 0, 'hub' will be NULL at line 334, and
'if (hub->ports)' will be a NULL dereference.
found by Amit Kulkarni using clang.
I OK'd this diff back in February, but it
On Thu, Sep 29, 2011 at 12:06:19PM +0200, Stefan Sperling wrote:
> On Fri, Feb 18, 2011 at 03:44:55AM +, Jacob Meuser wrote:
> > at line 190, if nports == 0, 'hub' will be NULL at line 334, and
> > 'if (hub->ports)' will be a NULL dereference.
> >
> > found by Amit Kulkarni using clang.
>
> I
On Fri, Feb 18, 2011 at 03:44:55AM +, Jacob Meuser wrote:
> at line 190, if nports == 0, 'hub' will be NULL at line 334, and
> 'if (hub->ports)' will be a NULL dereference.
>
> found by Amit Kulkarni using clang.
I OK'd this diff back in February, but it seems this still hasn't been
committed
On Fri, Feb 18, 2011 at 12:27:40PM +0100, Mike Belopuhov wrote:
> On Fri, Feb 18, 2011 at 03:44 +, Jacob Meuser wrote:
> > at line 190, if nports == 0, 'hub' will be NULL at line 334, and
> > 'if (hub->ports)' will be a NULL dereference.
> >
> > found by Amit Kulkarni using clang.
> >
>
> ma
On Fri, Feb 18, 2011 at 03:44:55AM +, Jacob Meuser wrote:
> at line 190, if nports == 0, 'hub' will be NULL at line 334, and
> 'if (hub->ports)' will be a NULL dereference.
>
> found by Amit Kulkarni using clang.
Okay.
>
> --
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - htt
On Fri, Feb 18, 2011 at 03:44 +, Jacob Meuser wrote:
> at line 190, if nports == 0, 'hub' will be NULL at line 334, and
> 'if (hub->ports)' will be a NULL dereference.
>
> found by Amit Kulkarni using clang.
>
makes perfect sense. ok mikeb
> --
> jake...@sdf.lonestar.org
> SDF Public Acce
Applied on amd64 -current:
uhub7 at uhub4 port 1 "ALCOR Generic USB Hub" rev 1.10/3.14 addr 2
Works fine.
//Logan
C-x-C-c
at line 190, if nports == 0, 'hub' will be NULL at line 334, and
'if (hub->ports)' will be a NULL dereference.
found by Amit Kulkarni using clang.
--
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Index: uhub.c
==