Subject: bin/11851: [heimdal/kerberos] "ktutil get" segfaults
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 12/30/2000 10:53:16
>Number: 11851
>Category: bin
>Synopsis: [heimdal/kerberos] "ktutil get" segfaults
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 30 10:53:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Jun-ichiro itojun Hagino
>Release: dec30
>Organization:
itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.5Q NetBSD 1.5Q (STARFRUIT) #304: Sat Dec 30 13:09:57 JST 2000 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
"ktutil get" segfaults, no matter what kind of argument we give.
>How-To-Repeat:
(gdb) run get ike/itojun
Starting program: ktutil get ike/itojun
Program received signal SIGSEGV, Segmentation fault.
0x4809b0f4 in krb5_parse_name ()
(gdb) bt
#0 0x4809b0f4 in krb5_parse_name ()
#1 0x4806ede3 in _kadm5_unmarshal_params ()
#2 0x4806ee32 in kadm5_s_init_with_password_ctx ()
#3 0x4806e161 in kadm5_init_with_password_ctx ()
#4 0x804ab2d in kt_get (argc=2, argv=0xbfbfd6bc)
at /home/itojun/NetBSD/src/usr.sbin/ktutil/../../crypto/dist/heimdal/admin/get.c:100
#5 0x4817adc8 in sl_command ()
#6 0x804afde in main (argc=2, argv=0xbfbfd6bc)
at /home/itojun/NetBSD/src/usr.sbin/ktutil/../../crypto/dist/heimdal/admin/ktutil.c:158
#7 0x80497e9 in ___start ()
(gdb) run get
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/home/itojun/NetBSD/src/usr.sbin/ktutil/obj/ktutil get
Program received signal SIGSEGV, Segmentation fault.
0x4809b0f4 in krb5_parse_name ()
(gdb) bt
#0 0x4809b0f4 in krb5_parse_name ()
#1 0x4806ede3 in _kadm5_unmarshal_params ()
#2 0x4806ee32 in kadm5_s_init_with_password_ctx ()
#3 0x4806e161 in kadm5_init_with_password_ctx ()
#4 0x804ab2d in kt_get (argc=1, argv=0xbfbfd6cc)
at /home/itojun/NetBSD/src/usr.sbin/ktutil/../../crypto/dist/heimdal/admin/get.c:100
#5 0x4817adc8 in sl_command ()
#6 0x804afde in main (argc=1, argv=0xbfbfd6cc)
at /home/itojun/NetBSD/src/usr.sbin/ktutil/../../crypto/dist/heimdal/admin/ktutil.c:158
#7 0x80497e9 in ___start ()
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted: