Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 17:28:40 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   File descriptor leak in libcam
Message-ID:  <1146346120.16564.12.camel@shumai.marcuscom.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEU9qIb2iPiv4Uz4cRAml5AKCd1Gherl0V2JWMKz9d6/TuvZ5OnACfSWhG
o0qVpdxVW2EPvlOCVdcPnHI=
=bIEk
-----END PGP SIGNATURE-----
help

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