Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 06:48:00 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12197 for review
Message-ID:  <200205311348.g4VDm0e19531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12197

Change 12197 by rwatson@rwatson_curry on 2002/05/31 06:47:16

	Missing unlock of Giant if internalize fails (which it doesn't)

Affected files ...

... //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#149 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#149 (text+ko) ====

@@ -2171,6 +2171,7 @@
 	error = mac_internalize(&intlabel, &extmac);
 	if (error) {
 		crfree(newcred);
+		mtx_unlock(&Giant);
 		return (error);
 	}
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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