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



The following reply was made to PR kern/41048; it has been noted by GNATS.

From: Nicolas Joly <njoly%pasteur.fr@localhost>
To: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost,
        gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/41048: ugen(4) crash with USB_SET_CONFIG ioctl
Date: Fri, 20 Mar 2009 22:00:15 +0100

 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