Subject: | kdb5_util/kdb5_ldap_util core dumps and prints incorrect progname on error paths |
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
Message body not shown because it is not plain text.