]> git.ipfire.org Git - thirdparty/samba.git/commit
passdb: Fixing CID 1509029 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Wed, 17 Sep 2025 11:32:26 +0000 (17:02 +0530)
committerAnoop C S <anoopcs@samba.org>
Wed, 24 Sep 2025 06:44:50 +0000 (06:44 +0000)
commite5b00b6511b53cefe4c7d9bc3db35b4cd8a0e75b
tree1aad9e7404c59baa0b09ae3096d3c30e5f0faea6
parent98755a26fac7f2e43f61d1a962ca976afc06ceae
passdb: Fixing CID 1509029 for time_t in DEBUG statement

In the most likely scenario of time_t being 64 bit signed, we do the
typecast to intmax_t to also log negative values correctly.

Signed-off-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Vinit Agnihotri <vagnihot@redhat.com>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Wed Sep 24 06:44:50 UTC 2025 on atb-devel-224
source3/passdb/pdb_ldap.c