PERFORCE change 90054 for review

Robert Watson rwatson at FreeBSD.org
Sat Jan 21 11:46:39 GMT 2006


http://perforce.freebsd.org/chv.cgi?CH=90054

Change 90054 by rwatson at rwatson_sesame on 2006/01/21 11:46:34

	Leave sufficient room for a full struct IP in the token generated
	in au_to_ip().
	
	Submitted by:	phk
	Found by:	FlexeLint

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#22 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#22 (text+ko) ====

@@ -401,7 +401,7 @@
 		return (NULL);
 	}
 
-	GET_TOKEN_AREA(t, dptr, 21);
+	GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(struct ip));
 	if (t == NULL)
 		return (NULL);
 
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