]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Fixing CID 1509052 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Mon, 1 Sep 2025 06:21:09 +0000 (11:51 +0530)
committerAnoop C S <anoopcs@samba.org>
Tue, 16 Sep 2025 17:45:30 +0000 (17:45 +0000)
commitcf4f13f6830703eeec485c88a26f0d88dd473939
treec99c3563d2760a695422441c8c8e4506da06f552
parent479da134e0f95559411f9310af335ec8e3e50752
smbd: Fixing CID 1509052 for time_t in DEBUG statement

Fix: typecast changing from (unsigned)convert_timespec_to_time_t  to
(intmax_t)convert_timespec_to_time_t can hold epoch seconds
after 2038 year

Signed-off-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Vinit Agnihotri <vagnihot@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Tue Sep 16 17:45:30 UTC 2025 on atb-devel-224
source3/smbd/smb2_trans2.c