Date: Sat, 21 Jan 2006 14:00:53 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90080 for review Message-ID: <200601211400.k0LE0rIu082772@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90080 Change 90080 by rwatson@rwatson_sesame on 2006/01/21 14:00:15 Fix count of u_chars in one case. White space synchronization to OpenBSM. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_bsm_token.c#5 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_bsm_token.c#5 (text+ko) ==== @@ -81,7 +81,7 @@ textlen = strlen(text); textlen += 1; - GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_char) + + GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + 2 * sizeof(u_char) + sizeof(u_int32_t) + sizeof(u_int16_t) + textlen); ADD_U_CHAR(dptr, AUT_ARG32); @@ -1031,7 +1031,7 @@ } totlen += count * sizeof(char); /* nul terminations. */ - GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen); + GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen); ADD_U_CHAR(dptr, AUT_EXEC_ARGS); ADD_U_INT32(dptr, count);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601211400.k0LE0rIu082772>