]> 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)
commit587dd0b8975aa95b009c60a5ebc1543cab03f412
tree39ea896254188ca5f5e88bfff100f91ac96fe67b
parent64cee01fbf6362138aaece14e47cda3d2fd97317
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