]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:kdc: Allocate user_info_dc->sids on correct talloc context
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 22 May 2023 21:21:17 +0000 (09:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 May 2023 00:50:31 +0000 (00:50 +0000)
commitf0ec5763e6d4841070758cdcb8fbbc19b37006dc
tree273f4d999869cbb602bd92066603927417973baa
parent480060ecd34472cce41b1322a2ac35c32889ca74
s4:kdc: Allocate user_info_dc->sids on correct talloc context

‘user_info_dc->sids’ must live for at least as long as ‘user_info_dc’,
or a use-after-free may result.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/pac-glue.c