[17038] in Kerberos-V5-bugs

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

[krbdev.mit.edu #9141] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Aug 4 18:32:14 2025

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-1713486-1754346722-155.9141-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9141":;
Date: Mon, 04 Aug 2025 18:32:02 -0400
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=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@mit.edu: rewrote commit message]

(cherry picked from commit 6f6d795be8d0dd0a46952cf8afa59b65d71df744)

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

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

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