[3253] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-clients/998: ksu plain_dump_principal call error

daemon@ATHENA.MIT.EDU (ratliff@austin.ibm.com)
Mon Oct 1 17:20:12 2001

Resent-From: gnats@rt-11.mit.edu (GNATS Management)
Resent-To: krb5-unassigned@rt-11.mit.edu
Resent-Reply-To: krb5-bugs@MIT.EDU, ratliff@austin.ibm.com
Message-Id: <20011001211924.C54AF82C06@spiff.austin.ibm.com>
Date: Mon,  1 Oct 2001 16:19:24 -0500 (CDT)
From: ratliff@austin.ibm.com
Reply-To: ratliff@austin.ibm.com
To: krb5-bugs@mit.edu


>Number:         998
>Category:       krb5-clients
>Synopsis:       Call to plain_dump_principal has incorrect parameters
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Mon Oct  1 17:20:00 EDT 2001
>Last-Modified:
>Originator:     Emily Ratliff
>Organization:
IBM Linux Technology Center, Security
>Release:        krb5-1.2.2
>Environment:
	
System: Linux spiff.austin.ibm.com 2.2.17-21mdk #1 Thu Oct 5 13:16:08 CEST 2000 i686 unknown
Architecture: i686

>Description:
	src/clients/ksu/krb_auth_su.c contains a call to plain_dump_principal
	which is invoked when GET_TGT_VIA_PASSWD is not defined that only
	supplies the client and not the context parameter. The result
	is a core dump when this code is invoked. It is rarely invoked
	and thus a low priority but the fix is simple and clean.
>How-To-Repeat:
	Compile krb5-current with GET_TGT_VIA_PASSWD undefined and issue ksu.
>Fix:

diff -ur src.old/clients/ksu/krb_auth_su.c src/clients/ksu/krb_auth_su.c
--- src.old/clients/ksu/krb_auth_su.c	Thu Sep 13 15:38:48 2001
+++ src/clients/ksu/krb_auth_su.c	Mon Oct  1 16:02:34 2001
@@ -165,7 +165,7 @@
 	}
 	
 #else
-	plain_dump_principal (client);
+	plain_dump_principal (context, client);
 	fprintf(stderr,"does not have any appropriate tickets in the cache.\n");
 	return FALSE;
 	
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post