File descriptor leak in libcam
- From: Joe Marcus Clarke <marcus@xxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 17:28:40 -0400
There is a leak in the cam_lookup_pass() if the ioctl call fails to find
the passthru device. Basically, the xpt file descriptor will not be
closed. Can anyone give me permission to commit the following patch?
Thanks.
http://www.marcuscom.com/downloads/camlib.c.diff
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@xxxxxxxxxxx
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: File descriptor leak in libcam
- From: Scott Long
- Re: File descriptor leak in libcam
- Prev by Date: panic: vm_object_reference_locked: dead object referenced
- Next by Date: Re: File descriptor leak in libcam
- Previous by thread: panic: vm_object_reference_locked: dead object referenced
- Next by thread: Re: File descriptor leak in libcam
- Index(es):