PERFORCE change 32236 for review
Robert Watson
rwatson at FreeBSD.org
Sat May 31 22:32:42 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=32236
Change 32236 by rwatson at rwatson_tislabs on 2003/05/31 15:32:34
Sure enough, file_cred in vnode_write can be null, should have
fixed this before.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#105 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#105 (text+ko) ====
@@ -1735,7 +1735,9 @@
{
ASSERT_CRED_LABEL(&active_cred->cr_label);
- ASSERT_CRED_LABEL(&file_cred->cr_label);
+ if (file_cred != NULL) {
+ ASSERT_CRED_LABEL(&file_cred->cr_label);
+ }
ASSERT_VNODE_LABEL(label);
return (0);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list