Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 18:55:02 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 91444 for review
Message-ID:  <200602091855.k19It20j027391@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91444

Change 91444 by rwatson@rwatson_zoo on 2006/02/09 18:54:12

	Count drops when the first of two mallocs fails.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#8 (text+ko) ====

@@ -180,6 +180,7 @@
 	ape = malloc(sizeof(*ape), M_AUDIT_PIPE_ENTRY, M_NOWAIT | M_ZERO);
 	if (ape == NULL) {
 		ap->ap_drops++;
+		audit_pipe_drops++;
 		return;
 	}
 



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