[krbdev.mit.edu #9141] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Aug 4 18:32:02 EDT 2025


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9141 >


Fix krb5_crypto_us_timeofday() microseconds check

Commit a60db180211a383bd382afe729e9309acb8dcf53 mistakenly reversed
the sense of the krb5_crypto_us_timeofday() conditional that enforces
fowards movement of the microseconds value within a second.  Moreover,
the macros ts_after() and ts_incr() should not have been applied to
non-timestamp values.  Revert the incorrect changes.

[ghudson at mit.edu: rewrote commit message]

(cherry picked from commit 6f6d795be8d0dd0a46952cf8afa59b65d71df744)

https://github.com/krb5/krb5/commit/7910ea9a7e5a1c9ed4c973c862e2bd96fea0fd13
Author: Alexey Tikhonov <atikhono at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 7910ea9a7e5a1c9ed4c973c862e2bd96fea0fd13
Branch: krb5-1.21
 src/lib/krb5/os/c_ustime.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list