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: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 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 21:51:37 +0100

 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.
 
 > NB: it does crash when trying to set configuration number 2, which do
 > not exist.
 
 You mean it does _not_ crash???
 
 best regards
 Matthias
 
 
 
 
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
 Dr. Sebastian M. Schmidt
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 


Home | Main Index | Thread Index | Old Index