[prev in list] [next in list] [prev in thread] [next in thread]
List: krb5-cvs
Subject: krb5 commit [krb5-1.13]: Fix error handling in k5_expand_path()
From: Tom Yu <tlyu () mit ! edu>
Date: 2016-07-22 20:04:14
Message-ID: 201607222004.u6MK4EWC013558 () drugstore ! mit ! edu
[Download RAW message or body]
https://github.com/krb5/krb5/commit/c1804f6b7674e7d18847ac11aa02b8b33ea93a6a
commit c1804f6b7674e7d18847ac11aa02b8b33ea93a6a
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.
(cherry picked from commit 55b46445980584644980cbe32f261eb5ba3d14eb)
ticket: 8455
version_fixed: 1.13.6
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic