s3: smbd: Uncorrupt the pointer we were using to prove a crash.
commit5bc50d2ea4444244721e72b4264311c7005d2f3c
authorJeremy Allison <jra@samba.org>
Fri, 11 Aug 2023 17:47:28 +0000 (11 10:47 -0700)
committerVolker Lendecke <vl@samba.org>
Mon, 14 Aug 2023 14:57:32 +0000 (14 14:57 +0000)
treeed3987c8427711581d360539b7697d55a3e9835a
parent9220c45cc191b34e293190f6a923ba463edd5db9
s3: smbd: Uncorrupt the pointer we were using to prove a crash.

Rather than restore to uninitialized, set to NULL as per
modern coding practices.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15420
Reviewed-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/smb1_sesssetup.c