]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix CID 1508939 Use of 32-bit time_t
authorVolker Lendecke <vl@samba.org>
Wed, 2 Apr 2025 10:30:25 +0000 (12:30 +0200)
committerMartin Schwenke <martins@samba.org>
Sat, 14 Jun 2025 08:46:34 +0000 (08:46 +0000)
This will pop up somewhere else, but this one was easy to fix.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/smbd/smb1_reply.c

index bba77119c16acdfd57ec4a9084617472874e387f..83b754f9c77dc8da0ee822f2a76c4bffbfbf8771 100644 (file)
@@ -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;