Date: Sun, 8 Feb 2009 14:53:29 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 157371 for review Message-ID: <200902081453.n18ErTe6072625@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=157371 Change 157371 by rwatson@rwatson_cinnamon_macosx on 2009/02/08 14:52:55 Fix mental arithmetic error in IPv6 address encoding for socket_ex tokens. Submitted by: sson Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#88 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#88 (text+ko) ==== @@ -30,7 +30,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#87 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#88 $ */ #include <sys/types.h> @@ -962,7 +962,7 @@ 5 * sizeof(u_int16_t) + 2 * sizeof(u_int32_t)); else if (so_domain == AF_INET6) GET_TOKEN_AREA(t, dptr, sizeof(u_char) + - 5 * sizeof(u_int16_t) + 16 * sizeof(u_int32_t)); + 5 * sizeof(u_int16_t) + 8 * sizeof(u_int32_t)); else { errno = EINVAL; return (NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902081453.n18ErTe6072625>