Date: Sun, 22 Jul 2012 12:09:43 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r238686 - stable/8/contrib/openbsm/libauditd Message-ID: <201207221209.q6MC9hvI082113@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rwatson Date: Sun Jul 22 12:09:42 2012 New Revision: 238686 URL: http://svn.freebsd.org/changeset/base/238686 Log: Merge r234034 from head to stable/8: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project Modified: stable/8/contrib/openbsm/libauditd/auditd_lib.c Modified: stable/8/contrib/openbsm/libauditd/auditd_lib.c ============================================================================== --- stable/8/contrib/openbsm/libauditd/auditd_lib.c Sun Jul 22 11:22:04 2012 (r238685) +++ stable/8/contrib/openbsm/libauditd/auditd_lib.c Sun Jul 22 12:09:42 2012 (r238686) @@ -520,6 +520,7 @@ auditd_expire_trails(int (*warn_expired) } } + closedir(dirp); } oldest_time = current_time - expire_age;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207221209.q6MC9hvI082113>