krb5_change_password(). The SAMDATA() macro in
lib/krb5/krb/preauth2.c seems to already be fixed.
KfM's kpasswd equivalent still needs to be dealt with.
ticket: 1055
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15204
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-02-25 Tom Yu <tlyu@mit.edu>
+
+ * kpasswd.c (main): Don't pass a NULL pointer to printf().
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
printf("%.*s%s%.*s\n",
(int) result_code_string.length, result_code_string.data,
result_string.length?": ":"",
- (int) result_string.length, result_string.data);
+ (int) result_string.length,
+ result_string.data ? result_string.data : "");
exit(2);
}
+2003-02-25 Tom Yu <tlyu@mit.edu>
+
+ * gic_pwd.c (krb5_get_init_creds_password): Don't pass a NULL
+ pointer to sprintf().
+
2003-02-14 Sam Hartman <hartmans@mit.edu>
* preauth2.c (krb5_do_preauth): Sort incoming etype info based on
sprintf(banner, "%.*s%s%.*s. Please try again.\n",
(int) code_string.length, code_string.data,
- result_string.length?": ":"",
- (int) result_string.length, result_string.data);
+ result_string.length ? ": " : "",
+ (int) result_string.length,
+ result_string.data ? result_string.data : "");
krb5_xfree(code_string.data);
krb5_xfree(result_string.data);
+2003-02-25 Tom Yu <tlyu@mit.edu>
+
+ * kpasswd.c (k5_change_password): Don't pass a NULL pointer to
+ sprintf().
+
2002-07-12 Ken Raeburn <raeburn@mit.edu>
* cns.h: Don't define DEFINE_SOCKADDR.
sprintf(*text, "%.*s%s%.*s",
result_code_string.length, result_code_string.data,
(result_string.length ? ": " : ""),
- result_string.length, result_string.data);
+ result_string.length,
+ result_string.data ? result_string.data : "");
}
return 0;