NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/44817: Misplaced parenthesis in pam_krb5.c.



>Number:         44817
>Category:       lib
>Synopsis:       Misplaced parenthesis in pam_krb5.c.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 02 10:10:01 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis in pam_krb5.c.
>How-To-Repeat:

>Fix:
diff -u -r1.22 pam_krb5.c
--- lib/libpam/modules/pam_krb5/pam_krb5.c      8 Mar 2009 19:38:03 -0000       
1.22
+++ lib/libpam/modules/pam_krb5/pam_krb5.c      31 Mar 2011 06:29:35 -0000
@@ -540,7 +540,7 @@
 
        /* Copy the creds (should be two of them) */
        while ((krbret = krb5_cc_next_cred(pam_context, ccache_temp,
-                               &cursor, &creds) == 0)) {
+                               &cursor, &creds)) == 0) {
 
                krbret = krb5_cc_store_cred(pam_context, ccache_perm, &creds);
                if (krbret != 0) {



Home | Main Index | Thread Index | Old Index