]> git.ipfire.org Git - thirdparty/samba.git/commit
libsmb: Fixing CID 1509051 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Mon, 1 Sep 2025 07:09:07 +0000 (12:39 +0530)
committerAnoop C S <anoopcs@samba.org>
Tue, 16 Sep 2025 16:44:31 +0000 (16:44 +0000)
commit479da134e0f95559411f9310af335ec8e3e50752
treeb2e67c3325052edc5a2d76ed220d821d6d12c3d3
parentf35aacbb17ead6b33da8d33ff5652c7bc1c3a451
libsmb: Fixing CID 1509051 for time_t in DEBUG statement

Fix: typecast changing from (unsigned int)expire  to
(intmax_t)expire as intmax_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>
source3/libsmb/namequery.c