cvs commit: src/sys/dev/usb ugen.c

Jeff Roberson jroberson at chesapeake.net
Sun Dec 26 02:27:11 PST 2004


On Sat, 25 Dec 2004, Stefan Farfeleder wrote:

> On Sun, Dec 12, 2004 at 02:27:30AM +0000, Julian Elischer wrote:
> > julian      2004-12-12 02:27:30 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/dev/usb          ugen.c
> >   Log:
> >   Changes to cache endpoint descriptors for all the interfaces. this information
> >   is not always available if we change interfaces.
>
> This causes a null pointer dereference in idestroy_dev() if I try to
> get pictures from my camera with gphoto.  I think it is due to both
> ugen_do_ioctl() and ugen_set_config() calling ugen_destroy_devnodes().
> Here's a fix which works for me.

Thanks for tracking thsi down.  I was having the same problem but I was
too busy to find it.  Julian, can you test and commit this please?

>
> Stefan
>


More information about the cvs-src mailing list