[29494] in CVS-changelog-for-Kerberos-V5
krb5 commit: Fix error handling in k5_expand_path()
daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jul 19 12:30:22 2016
Date: Tue, 19 Jul 2016 12:30:18 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201607191630.u6JGUIe3029672@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/55b46445980584644980cbe32f261eb5ba3d14eb
commit 55b46445980584644980cbe32f261eb5ba3d14eb
Author: Greg Hudson <ghudson@mit.edu>
Date: Fri Jul 15 18:51:31 2016 -0400
Fix error handling in k5_expand_path()
In k5_expand_path_tokens_extra(), don't throw away non-zero return
statuses in the cleanup handler. Reported by Will Fiveash.
ticket: 8455
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
src/lib/krb5/os/expand_path.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/krb5/os/expand_path.c b/src/lib/krb5/os/expand_path.c
index 6142b3b..a8a14f4 100644
--- a/src/lib/krb5/os/expand_path.c
+++ b/src/lib/krb5/os/expand_path.c
@@ -537,5 +537,5 @@ k5_expand_path_tokens_extra(krb5_context context, const char *path_in,
cleanup:
k5_buf_free(&buf);
free_extra_tokens(extra_tokens);
- return 0;
+ return ret;
}
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5