PERFORCE change 90088 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jan 21 14:29:31 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=90088
Change 90088 by rwatson at rwatson_sesame on 2006/01/21 14:29:29
Pointer is almost not a boolean.
Submitted by: phk
Found with: FlexeLint
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_audit.c#16 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_audit.c#16 (text+ko) ====
@@ -237,7 +237,7 @@
token_t *tok;
/* Free the token list */
- while ((tok = TAILQ_FIRST(&rec->token_q))) {
+ while ((tok = TAILQ_FIRST(&rec->token_q)) != NULL) {
TAILQ_REMOVE(&rec->token_q, tok, tokens);
free(tok->t_data);
free(tok);
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