[krbdev.mit.edu #6030] kdb5_util/kdb5_ldap_util core dumps and prints incorrect progname on error paths

Mark.Phalan@Sun.Com via RT rt-comment at krbdev.mit.edu
Mon Jul 14 07:08:43 EDT 2008


There are a number of places in krb5_util and krb5_ldap_util where
argv[0] is being used instead of 'progname'. This results in core dumps
in some situations and in an incorrect string being printed instead of
the program name (when printing an error message).

e.g.
when the password read is interupted by a SIGINT

4# kdb5_ldap_util -D "cn=Directory Manager" create -r ACME.COM -s
Password for "cn=Directory Manager": 
zsh: segmentation fault (core dumped)  kdb5_ldap_util -D "cn=Directory
Manager" create -r ACME.COM -s



More information about the krb5-bugs mailing list