NetBSD Problem Report #44817

From www@NetBSD.org  Sat Apr  2 10:09:33 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id C0D8C63C12C
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Apr 2011 10:09:33 +0000 (UTC)
Message-Id: <20110402100933.2341B63B8CE@www.NetBSD.org>
Date: Sat,  2 Apr 2011 10:09:33 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Misplaced parenthesis in pam_krb5.c.
X-Send-Pr-Version: www-1.0

>Number:         44817
>Category:       lib
>Synopsis:       Misplaced parenthesis in pam_krb5.c.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 02 10:10:01 +0000 2011
>Closed-Date:    Sat Apr 02 10:22:38 +0000 2011
>Last-Modified:  Sat Apr 02 10:22:38 +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) {

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: mbalmer@NetBSD.org
State-Changed-When: Sat, 02 Apr 2011 10:22:38 +0000
State-Changed-Why:
Fix committed, thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.