PERFORCE change 89769 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jan 15 16:16:22 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=89769
Change 89769 by rwatson at rwatson_peppercorn on 2006/01/16 00:15:42
In audit_write_failure(), free the subject token if we are
aborting generation of the audit record.
Found by: Coverity Prevent (tm)
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#11 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#11 (text+ko) ====
@@ -239,6 +239,7 @@
/* tokenize and save the error message */
if ((errtok = au_to_text(errmsg)) == NULL) {
+ au_free_token(subject);
syslog(LOG_ERR, "%s: au_to_text() failed", func);
return (kAUMakeTextTokErr);
}
More information about the p4-projects
mailing list