From: Volker Lendecke Date: Wed, 2 Apr 2025 10:30:25 +0000 (+0200) Subject: smbd: Fix CID 1508939 Use of 32-bit time_t X-Git-Tag: tevent-0.17.0~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3f5a56c5eb53bfd3d78998872249c32f6759618;p=thirdparty%2Fsamba.git smbd: Fix CID 1508939 Use of 32-bit time_t This will pop up somewhere else, but this one was easy to fix. Signed-off-by: Volker Lendecke Reviewed-by: Martin Schwenke --- diff --git a/source3/smbd/smb1_reply.c b/source3/smbd/smb1_reply.c index bba77119c16..83b754f9c77 100644 --- a/source3/smbd/smb1_reply.c +++ b/source3/smbd/smb1_reply.c @@ -1907,7 +1907,7 @@ void reply_open_and_X(struct smb_request *req) #endif int smb_ofun; uint32_t fattr=0; - int mtime=0; + time_t mtime=0; int smb_action = 0; struct files_struct *dirfsp = NULL; files_struct *fsp;