Skip Menu |
 

From: tlyu@mit.edu
Subject: git commit

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@mit.edu: rewrite commit message]

(cherry picked from commit f5645d30cf83398640c386a612eb6f07c543286f)

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