s3:modules: Initialize mask_permset (CID 1435850)
commitc30aa741ee9fd1ba26bacf4fad98c004897ac3e5
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 6 Oct 2023 01:58:34 +0000 (6 14:58 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 13 Oct 2023 02:18:31 +0000 (13 02:18 +0000)
treeb873954f1bda7a23ad81c74afd327a7a368edc46
parent86b0755a4b791e368010ce4a72add5dfa2a5f13d
s3:modules: Initialize mask_permset (CID 1435850)

If this code had ever run, sys_acl_clear_perms() would have attempted to
write to some random address in memory. ‘mask_permset’ must be a valid
non‐NULL pointer.

Commit 9b79d5f2a2f8af75ef13bdc41d2dc296e19ba098 seems to have been a
previous attempt to fix this issue.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_fake_acls.c