NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41048: ugen(4) crash with USB_SET_CONFIG ioctl



On Fri, Mar 20, 2009 at 09:51:37PM +0100, Matthias Drochner wrote:
> 
> njoly%pasteur.fr@localhost said:
> > kernel panic while trying to set the device to configuration number 0
> 
> Configuration number 0 happens to be the non-configuration...
> I'm assuming that while it doesn't make much sense it is still
> legal to do this through ugen, so I've added a check which
> just prevents the crash.

Thanks.

> > NB: it does crash when trying to set configuration number 2, which do
> > not exist.
> 
> You mean it does _not_ crash???

Yes, sorry. No problem when doing the same test with config 2.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index