Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2004 05:27:09 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Stefan Farfeleder <stefanf@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb ugen.c
Message-ID:  <20041226052646.L60504@mail.chesapeake.net>
In-Reply-To: <20041225141749.GA585@wombat.fafoe.narf.at>
References:  <200412120227.iBC2RUNt005869@repoman.freebsd.org> <20041225141749.GA585@wombat.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041226052646.L60504>