From 689c43caa81f72f6aac9ad79cead25d320db2327 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Thu, 26 Feb 2009 20:32:35 +0000 Subject: [PATCH] krb5_merge_authdata should initialize output on failure ticket: 6400 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22057 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/copy_auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/krb/copy_auth.c b/src/lib/krb5/krb/copy_auth.c index 4946eca62..0223983c8 100644 --- a/src/lib/krb5/krb/copy_auth.c +++ b/src/lib/krb5/krb/copy_auth.c @@ -84,6 +84,7 @@ krb5_merge_authdata(krb5_context context, krb5_authdata *const *inauthdat1, krb5 krb5_authdata ** tempauthdat; register unsigned int nelems = 0, nelems2 = 0; + *outauthdat = NULL; if (!inauthdat1 && !inauthdat2) { *outauthdat = 0; return 0; -- 2.26.2