[krbdev.mit.edu #9188] git commit
Crowston, Robert via RT
rt at krbdev.mit.edu
Fri Nov 21 06:03:39 EST 2025
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9188 >
Thanks Greg.
-----Original Message-----
From: Greg Hudson via RT <rt at krbdev.mit.edu>
Sent: 21 November 2025 08:10
To: Crowston, Robert [Engineering] <Robert.Crowston at ln.email.gs.com>
Subject: [krbdev.mit.edu #9188] git commit
Improve MSLSA ccache timestamp conversion
FileTimeToUnixTime() can yield the wrong answer in the presence of a TZ environment variable, because FileTimeToLocalFileTime() ignores TZ and mktime() assumes UTC-8 if it cannot parse the TZ value. (Reported by Robert Crowston.)
Replace the function with a simple arithmetic conversion that does not depend on time zones.
https://urldefense.com/v3/__https://github.com/krb5/krb5/commit/986582e2e1f78b9053348b7504b8b725f7e9396c__;!!O2kDR7mm-zSJ!s9klXMVexlZUVhTc8Qp7lCsS--Qt4A5xjGfk4GXvYyvrjrGW4aYTbmz3nCn9L7z-HQycqb2DSAJoFE8b3Q$
Author: Greg Hudson <ghudson at mit.edu>
Commit: 986582e2e1f78b9053348b7504b8b725f7e9396c
Branch: master
src/lib/krb5/ccache/cc_mslsa.c | 37 ++++++++++++++-----------------------
1 file changed, 14 insertions(+), 23 deletions(-)
________________________________
Your Personal Data: We may collect and process information about you that may be subject to data protection laws. For more information about how we use and disclose your personal data, how we protect your information, our legal basis to use your information, your rights and who you can contact, please refer to: www.gs.com/privacy-notices<http://www.gs.com/privacy-notices>
More information about the krb5-bugs
mailing list