[30475] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Clarify header comment for krb5_cc_start_seq_get()

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Apr 10 18:07:17 2019

Date: Wed, 10 Apr 2019 18:07:12 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <201904102207.x3AM7CLW009174@drugstore.mit.edu>
To: <cvs-krb5@mit.edu>
MIME-Version: 1.0
Reply-To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/f4f51a25dd38601357e2f64b17b51eb23f45a53e
commit f4f51a25dd38601357e2f64b17b51eb23f45a53e
Author: Robbie Harwood <rharwood@redhat.com>
Date:   Tue Apr 2 14:18:57 2019 -0400

    Clarify header comment for krb5_cc_start_seq_get()
    
    Previously this comment seemed to suggest that applications needed to
    block all other access to the ccache (including by other processes)
    during iteration.

 src/include/krb5/krb5.hin |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index eb31607..75787fb 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -2485,8 +2485,10 @@ krb5_cc_get_principal(krb5_context context, krb5_ccache cache,
  *
  * krb5_cc_end_seq_get() must be called to complete the retrieve operation.
  *
- * @note If @a cache is modified between the time of the call to this function
- * and the time of the final krb5_cc_end_seq_get(), the results are undefined.
+ * @note If the cache represented by @a cache is modified between the time of
+ * the call to this function and the time of the final krb5_cc_end_seq_get(),
+ * these changes may not be reflected in the results of krb5_cc_next_cred()
+ * calls.
  *
  * @retval 0  Success; otherwise - Kerberos error codes
  */
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post