summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2transport.c
diff options
context:
space:
mode:
authorAndi Shyti <andi@etezian.org>2013-07-29 20:04:35 +0200
committerSteve French <smfrench@gmail.com>2013-07-31 06:54:49 +0200
commitfe090e4e44bac1d7d8c0ebd1dfa4e6007e1b2762 (patch)
tree63c1464c9b8e598ebacfeedf98600876be0dee8b /fs/cifs/smb2transport.c
parentDo not attempt to do cifs operations reading symlinks with SMB2 (diff)
downloadlinux-fe090e4e44bac1d7d8c0ebd1dfa4e6007e1b2762.tar.xz
linux-fe090e4e44bac1d7d8c0ebd1dfa4e6007e1b2762.zip
cifs: file: initialize oparms.reconnect before using it
In the cifs_reopen_file function, if the following statement is asserted: (tcon->unix_ext && cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP & (tcon->fsUnixInfo.Capability))) and we succeed to open with cifs_posix_open, the function jumps to the label reopen_success and checks for oparms.reconnect which is not initialized. This issue has been reported by scan.coverity.com Signed-off-by: Andi Shyti <andi@etezian.org> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2transport.c')
0 files changed, 0 insertions, 0 deletions