PERFORCE change 141723 for review

Vincenzo Iozzo snagg at FreeBSD.org
Fri May 16 16:26:00 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=141723

Change 141723 by snagg at snagg_macosx on 2008/05/16 16:25:31

	Missing a lock if the app is not found in delete_pid
	Reviewed by: csjp

Affected files ...

.. //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#10 edit

Differences ...

==== //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#10 (text) ====

@@ -439,7 +439,9 @@
 			free((app->app_auevents + i), M_AUDIT_PIPE_PRESELECT_EVENT);
 		free(app, M_AUDIT_PIPE_PRESELECT);	
 		return (0);
-	}	
+	}else
+		mtx_unlock(&audit_pipe_mtx);
+		
 	return (ENOENT);
 }
 


More information about the p4-projects mailing list