Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2002 10:40:05 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18280 for review
Message-ID:  <200209281740.g8SHe5Cp065170@freefall.freebsd.org>

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

Change 18280 by rwatson@rwatson_tislabs on 2002/09/28 10:39:38

	Return string length, not the size of the string length.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#114 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#114 (text+ko) ====

@@ -575,7 +575,7 @@
 		if (error)
 			return (error);
 
-		element->me_datalen = sizeof(strlen(string)+1);
+		element->me_datalen = strlen(string)+1;
 	}
 
 	return (0);

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?200209281740.g8SHe5Cp065170>