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>
Mon, 8 Nov 2021 09:52:13 +0000 (10:52 +0100)
commit6925a53a290d6d5fb310820bc62080492521cee4
tree005472cc5c6ebe50e30ddabf97c4e061437b2855
parent5337dc5eaeb7abba3aeb73cc6ef0471ffc9e7bc8
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