[krbdev.mit.edu #9188] git commit
"Greg Hudson via RT" <[email protected]> Fri, 21 Nov 2025 03:10:26 -0500
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
<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. https://github.com/krb5/krb5/commit/986582e2e1f78b9053348b7504b8b725f7e9396c Author: Greg Hudson <[email protected]> Commit: 986582e2e1f78b9053348b7504b8b725f7e9396c Branch: master src/lib/krb5/ccache/cc_mslsa.c | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-)