Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 16:25:59 GMT
From:      Vincenzo Iozzo <snagg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 141723 for review
Message-ID:  <200805161625.m4GGPxxi030028@repoman.freebsd.org>

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

Change 141723 by snagg@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);
 }
 



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