[krbdev.mit.edu #8097] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Feb 6 17:27:01 EST 2015


Check for asprintf failure in kdb5_util create

In add_admin_princ, remove build_name_with_realm and call asprintf
directly instead.  Check for asprintf failure to avoid passing an
undefined pointer to krb5_parse_name.

[ghudson at mit.edu: rewrite commit message]

(cherry picked from commit f5645d30cf83398640c386a612eb6f07c543286f)

https://github.com/krb5/krb5/commit/337a1f7b013fe18332614a539af3872d1ce89295
Author: Tomas Kuthan <tkuthan at gmail.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 337a1f7b013fe18332614a539af3872d1ce89295
Branch: krb5-1.11
 src/kadmin/dbutil/kadm5_create.c |   30 ++++--------------------------
 1 files changed, 4 insertions(+), 26 deletions(-)



More information about the krb5-bugs mailing list