diff options
| author | Steve French <[email protected]> | 2019-12-09 22:34:10 -0600 | 
|---|---|---|
| committer | Steve French <[email protected]> | 2019-12-13 00:49:38 -0600 | 
| commit | e0fc5b1153b81571d6ff80902a54c3eb13319b33 (patch) | |
| tree | 76c6262475b2accd47cdea53a80efcd5e187bcf9 /net/unix/af_unix.c | |
| parent | 281393894af9cc3f9483204475014e89d728987c (diff) | |
SMB3: Fix crash in SMB2_open_init due to uninitialized field in compounding path
Ran into an intermittent crash in
	SMB2_open_init+0x2f6/0x970
due to oparms.cifs_sb not being initialized when called from:
	smb2_compound_op+0x45d/0x1690
Zero the whole oparms struct in the compounding path before setting up the
oparms so we don't risk any uninitialized fields.
Fixes: fdef665ba44a ("smb3: fix mode passed in on create for modetosid mount option")
Signed-off-by: Steve French <[email protected]>
Acked-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions