]> git.ipfire.org Git - thirdparty/samba.git/commit
passdb: Fixing CID 1508971 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Thu, 4 Sep 2025 14:22:05 +0000 (19:52 +0530)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 10 Sep 2025 09:38:30 +0000 (09:38 +0000)
commitca6ec7b48404abdb3ca85ce2f6e8f68c6f6f38ed
tree69945f7afc439e3e33280fbdd6da8bc9014f0276
parentc25a5a26a1cba698420fb64e23bee3b52540b21b
passdb: Fixing CID 1508971 for time_t in DEBUG statement

Fix: typecast changing from (unsigned int)badtime  to (intmax_t)badtime
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/passdb/pdb_ldap.c