Volker Lendecke a152d05ae4 cifs: Fix uninitialized memory read for smb311 posix symlink create
If smb311 posix is enabled, we send the intended mode for file
creation in the posix create context. Instead of using what's there on
the stack, create the mfsymlink file with 0644.

Fixes: ce558b0e17f8a ("smb3: Add posix create context for smb3.11 posix mounts")
Cc: stable@vger.kernel.org
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Tom Talpey <tom@talpey.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-01-12 09:51:48 -06:00
..
2022-12-14 12:20:00 -08:00
2022-12-19 08:04:50 -06:00
2022-10-20 10:13:32 +02:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2022-12-15 14:53:14 -08:00
2022-01-19 11:21:08 -06:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00
2022-10-20 10:13:32 +02:00