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



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