]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: must initialize two ACL struct fields to zero
authorSteve French <stfrench@microsoft.com>
Fri, 14 Oct 2022 23:50:20 +0000 (18:50 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 15 Oct 2022 15:05:53 +0000 (10:05 -0500)
commit0156c6aedd435b56bded76637f663147e0d4f8a6
tree39ea896254188ca5f5e88bfff100f91ac96fe67b
parent175299b5bd364006a609e232b93a3dfb76e59d78
smb3: must initialize two ACL struct fields to zero

Coverity spotted that we were not initalizing Stbz1 and Stbz2 to
zero in create_sd_buf.

Addresses-Coverity: 1513848 ("Uninitialized scalar variable")
Cc: <stable@vger.kernel.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c