ticket: 2918
version_fixed: 1.4.1
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17133
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-02-09 Tom Yu <tlyu@mit.edu>
+
+ * gic_pwd.c (krb5_get_init_creds_password): Fix so empty password
+ string causes prompting and doesn't cause truncation of password
+ to zero characters.
+
2005-01-17 Jeffrey Altman <jaltman@mit.edu>
* unparse.c: krb5_unparse_name, krb5_unparse_name_ext()
prevent null pointer dereferencing if either 'name' or 'size'
pw0.data = pw0array;
- if (password) {
+ if (password && password[0]) {
if ((pw0.length = strlen(password)) > sizeof(pw0array)) {
ret = EINVAL;
goto cleanup;