]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: multichannel: always zero struct cifs_io_parms
authorAurelien Aptel <aaptel@suse.com>
Thu, 4 Jun 2020 15:23:55 +0000 (17:23 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 4 Jun 2020 18:50:55 +0000 (13:50 -0500)
commitfa1b7a105caac04aced7d92db562fa2050ba29ff
tree9bed20ebe6e9f8ebd700cf37e26ac009ade4a3a0
parentd08c0d15ae1bc6c96b969a01779c56e4b80af33a
cifs: multichannel: always zero struct cifs_io_parms

SMB2_read/SMB2_write check and use cifs_io_parms->server, which might
be uninitialized memory.

This change makes all callers zero-initialize the struct.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/link.c
fs/cifs/smb2ops.c