PERFORCE change 91444 for review
Robert Watson
rwatson at FreeBSD.org
Thu Feb 9 10:55:03 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=91444
Change 91444 by rwatson at 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;
}
More information about the p4-projects
mailing list