CVE-2021-3738 auth_util: avoid talloc_tos() in copy_session_info()
authorStefan Metzmacher <metze@samba.org>
Thu, 5 Aug 2021 11:30:41 +0000 (13:30 +0200)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:34 +0000 (19:45 +0000)
commitb173ac586a688c2c3c6e75b02952e939fd0d4698
treed797f0e942bde91ea75640ef224b711cb4080aa9
parentb9deab4ca43a2d08bed6950c05a57a7b2c7557bd
CVE-2021-3738 auth_util: avoid talloc_tos() in copy_session_info()

We want to use this also in code without existing
stackframe.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_util.c