mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
6832d5e933
The previous API was not clear as to who owned the returned session key. This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code, and avoids making allocations - we steal and zero instead. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>