cifs: do not use uninitialized data in the owner/group sid
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 11 Feb 2022 22:16:20 +0000 (08:16 +1000)
committerSteve French <stfrench@microsoft.com>
Sun, 13 Feb 2022 20:56:46 +0000 (14:56 -0600)
commit26d3dadebbcbddfaf1d9caad42527a28a0ed28d8
tree1fe0b5c4a70abbc036b86c6331b56bbd91342509
parentdd5a927e411836eaef44eb9b00fece615e82e242
cifs: do not use uninitialized data in the owner/group sid

When idsfromsid is used we create a special SID for owner/group.
This structure must be initialized or else the first 5 bytes
of the Authority field of the SID will contain uninitialized data
and thus not be a valid SID.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.c