svn commit: r238264 - stable/9/contrib/openbsm/libauditd

Robert Watson rwatson at FreeBSD.org
Sun Jul 8 20:41:55 UTC 2012


Author: rwatson
Date: Sun Jul  8 20:41:54 2012
New Revision: 238264
URL: http://svn.freebsd.org/changeset/base/238264

Log:
  Merge r234034 from head to stable/9:
  
    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
  
  Approved by:	re (kib)

Modified:
  stable/9/contrib/openbsm/libauditd/auditd_lib.c
Directory Properties:
  stable/9/contrib/openbsm/   (props changed)

Modified: stable/9/contrib/openbsm/libauditd/auditd_lib.c
==============================================================================
--- stable/9/contrib/openbsm/libauditd/auditd_lib.c	Sun Jul  8 20:39:00 2012	(r238263)
+++ stable/9/contrib/openbsm/libauditd/auditd_lib.c	Sun Jul  8 20:41:54 2012	(r238264)
@@ -520,6 +520,7 @@ auditd_expire_trails(int (*warn_expired)
 				}
 
 		}
+		closedir(dirp);
 	}
 
 	oldest_time = current_time - expire_age;


More information about the svn-src-stable-9 mailing list