[17073] in Kerberos-V5-bugs
[krbdev.mit.edu #9188] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Jan 27 23:49:08 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-3919926-1769575743-1833.9188-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9188":;
Date: Tue, 27 Jan 2026 23:49:03 -0500
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9188 >
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.
(cherry picked from commit 986582e2e1f78b9053348b7504b8b725f7e9396c)
https://github.com/krb5/krb5/commit/58ac124db5abd6db8627f04b9ffc2ad7b64ee92a
Author: Greg Hudson <ghudson@mit.edu>
Commit: 58ac124db5abd6db8627f04b9ffc2ad7b64ee92a
Branch: krb5-1.22
src/lib/krb5/ccache/cc_mslsa.c | 37 ++++++++++++++-----------------------
1 file changed, 14 insertions(+), 23 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs