Re: svn commit: r289450 - head/lib/libcam

2015-10-17 Thread NGie Cooper
> On Oct 17, 2015, at 02:07, Garrett Cooper wrote: > > Author: ngie > Date: Sat Oct 17 09:07:53 2015 > New Revision: 289450 > URL: https://svnweb.freebsd.org/changeset/base/289450 > > Log: > Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fd > descriptor to avoid trashi

svn commit: r289450 - head/lib/libcam

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 09:07:53 2015 New Revision: 289450 URL: https://svnweb.freebsd.org/changeset/base/289450 Log: Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fd descriptor to avoid trashing valid file descriptors that access dev->fd at a later point in ti