Bug 200979 - kinit -a segfaults
Summary: kinit -a segfaults
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-01 22:48 UTC by Bill Nottingham
Modified: 2014-03-17 03:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-25 19:59:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2006-08-01 22:48:10 UTC
Description of problem:

Accidentally typed 'kinit -a' instead of 'kinit -A'. Much to my surprise:

[notting@nostromo: ~]$ kinit -a
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
add_addr (P_data=0xbf904520, a=0x0) at localaddr.c:1179
1179        switch (a->sa_family) {
(gdb) bt
#0  add_addr (P_data=0xbf904520, a=0x0) at localaddr.c:1179
#1  0x008675fc in krb5int_foreach_localaddr (data=0xbf904520, 
    pass1fn=0x8672e0 <count_addrs>, betweenfn=0x867310 <allocate>, 
    pass2fn=0x867430 <add_addr>) at localaddr.c:484
#2  0x008676ee in get_localaddrs (context=0x928f088, addr=0xbf90468c, use_profile=3)
    at localaddr.c:1347
#3  0x00c1904e in main (argc=2, argv=0xbf904844) at kinit.c:784

(gdb) print a
$1 = (struct sockaddr *) 0x0

Version-Release number of selected component (if applicable):

1.5-3

How reproducible:

Every time.

Comment 1 Nalin Dahyabhai 2008-02-25 19:59:28 UTC
Fixing in 1.6.3-8 -- a patch which fixed this problem in 1.4 clashed with the
fix that went into 1.5.

Comment 2 Fedora Update System 2008-02-26 22:39:15 UTC
krb5-1.6.1-8.fc7 has been submitted as an update for Fedora 7

Comment 3 Fedora Update System 2008-02-26 22:39:15 UTC
krb5-1.6.2-13.fc8 has been submitted as an update for Fedora 8

Comment 4 Fedora Update System 2008-03-06 16:35:36 UTC
krb5-1.6.2-13.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2008-03-06 16:36:06 UTC
krb5-1.6.1-8.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.