[linux-usb-devel] Re: How to handle errors in configuration descriptors

2003-09-06 Thread Alan Stern
On Fri, 5 Sep 2003, Greg KH wrote: > On Fri, Sep 05, 2003 at 10:06:15AM -0400, Alan Stern wrote: > > Greg et al. > > > > I'm considering adding more error checking to the descriptor parsing > > routines in core/config.c. Especially I want to sort the interface > > pointers in order by bInterface

Re: [linux-usb-devel] Re: How to handle errors in configuration descriptors

2003-09-05 Thread David Brownell
Greg KH wrote: Seriously, if a device doesn't meet the spec, we don't have to work with it. That being said, it might be nice if we do catch such problems that we at least tell the user about them and then just abort adding the device. That's why I ended up being happier with the notion of relying

[linux-usb-devel] Re: How to handle errors in configuration descriptors

2003-09-05 Thread Greg KH
On Fri, Sep 05, 2003 at 10:06:15AM -0400, Alan Stern wrote: > Greg et al. > > I'm considering adding more error checking to the descriptor parsing > routines in core/config.c. Especially I want to sort the interface > pointers in order by bInterfaceNumber and sort the altsettings for each > inter