Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2006 11:46:39 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 90054 for review
Message-ID:  <200601211146.k0LBkdbb068674@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90054

Change 90054 by rwatson@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);
 



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