Date: Sat, 31 May 2003 15:32:42 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 32236 for review Message-ID: <200305312232.h4VMWgg9047796@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=32236 Change 32236 by rwatson@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);help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305312232.h4VMWgg9047796>
