diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-14 08:08:25 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-14 08:08:25 -0600 |
commit | b35ad63eeccadbcc83f295a64a029f7e7188444f (patch) | |
tree | 366a53195b6294e3163da5a4166d997e83d8d20d /fs/cifs/link.c | |
parent | 8e768130857d08a6765f3287ad3f89c1b7d50e53 (diff) | |
parent | a152d05ae4a71d802d50cf9177dba34e8bb09f68 (diff) | |
download | linux-b35ad63eeccadbcc83f295a64a029f7e7188444f.tar.bz2 |
Merge tag '6.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6
Pull cifs fixes from Steve French:
- memory leak and double free fix
- two symlink fixes
- minor cleanup fix
- two smb1 fixes
* tag '6.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
cifs: Fix uninitialized memory read for smb311 posix symlink create
cifs: fix potential memory leaks in session setup
cifs: do not query ifaces on smb1 mounts
cifs: fix double free on failed kerberos auth
cifs: remove redundant assignment to the variable match
cifs: fix file info setting in cifs_open_file()
cifs: fix file info setting in cifs_query_path_info()
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r-- | fs/cifs/link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c index bd374feeccaa..a5a097a69983 100644 --- a/fs/cifs/link.c +++ b/fs/cifs/link.c @@ -428,6 +428,7 @@ smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, oparms.disposition = FILE_CREATE; oparms.fid = &fid; oparms.reconnect = false; + oparms.mode = 0644; rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, NULL); |