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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:34:35 +0000 (12:34 +0200)
commit73b8218ef4aac42d18d98ddf5c2fe46ea0d52300
tree5e94bac393aec30288cf6ce4c4ec64b3f76ebce1
parentadf428ae46be7920fa74dc1ef9395c101a33960c
smb3: must initialize two ACL struct fields to zero

commit f09bd695af3b8ab46fc24e5d6954a24104c38387 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c