Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 675 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/84a258e3976906332b9b9eec651e669e8ddd1989 Author: Tomas Kuthan Committer: Tom Yu Commit: 84a258e3976906332b9b9eec651e669e8ddd1989 Branch: krb5-1.12 src/kadmin/dbutil/kadm5_create.c | 30 ++++-------------------------- 1 files changed, 4 insertions(+), 26 deletions(-)