PERFORCE change 89767 for review

Robert Watson rwatson at FreeBSD.org
Mon Jan 16 00:12:15 GMT 2006


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

Change 89767 by rwatson at rwatson_peppercorn on 2006/01/16 00:12:13

	Since we have a (up) pointer, use it.
	
	Found by:	Coverity Prevent (tm)

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_user.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_user.c#10 (text+ko) ====

@@ -214,7 +214,8 @@
 
 	/* Get user mask. */
 	if ((up = getauusernam_r(&u, username)) != NULL) {
-		if (-1 == getfauditflags(&u.au_always, &u.au_never, mask_p))
+		if (-1 == getfauditflags(&up->au_always, &up->au_never,
+		    mask_p))
 			return (-1);
 		return (0);
 	}
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