]> git.ipfire.org Git - thirdparty/samba.git/commit
nmbd: Fixing CID 1509039 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Fri, 5 Sep 2025 05:01:16 +0000 (10:31 +0530)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 10 Sep 2025 09:38:30 +0000 (09:38 +0000)
commit85a8f01bc497f399797c1035d6be49999014d6bd
treea70dd1c9a969a03813066db6553f84558f5a8ccd
parent7143caeecc856d3326fdc3eb466ef1f37bc564b5
nmbd: Fixing CID 1509039 for time_t in DEBUG statement

Fix: typecast changing from (int)t to (intmax_t)t as intmax_t
can hold epoch seconds after 2038 year

Signed-off-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
Reviewed-by: Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libads/sitename_cache.c
source3/nmbd/nmbd_sendannounce.c