]> git.ipfire.org Git - thirdparty/samba.git/commit
nmbd: Fixing CID 1509046 for time_t in DEBUG statement
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Mon, 1 Sep 2025 08:39:33 +0000 (14:09 +0530)
committerAnoop C S <anoopcs@samba.org>
Tue, 16 Sep 2025 16:44:31 +0000 (16:44 +0000)
commitf35aacbb17ead6b33da8d33ff5652c7bc1c3a451
tree1204033b4e7a6462bff6798d310544d05fa0352a
parent52d5d4ddcd014f5095ceedf34c660338dc4a8914
nmbd: Fixing CID 1509046 for time_t in DEBUG statement

Fix: typecast changing from (int)browc->death_time  to
(intmax_t)browc->death_time 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/nmbd/nmbd_browserdb.c