]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: smbd: Ensure init_smb1_request() zeros out what the incoming pointer points to.
authorJeremy Allison <jra@samba.org>
Sat, 12 Aug 2023 00:28:53 +0000 (17:28 -0700)
committerJule Anger <janger@samba.org>
Fri, 18 Aug 2023 14:07:39 +0000 (14:07 +0000)
commit0a044e409dede6a51c32d269e82c17f6b8f5abf0
tree49a859977f0dce338016d8b1af522fd354f95de1
parent0605946d20f582cb66a807baf3defa41b97f4857
s3: smbd: Ensure init_smb1_request() zeros out what the incoming pointer points to.

Remove the now unneeded req->xxx = NULL assignments (and the
deliberately bogus req->session = (void *)0xDEADBEEF one
used to demonstrate the bug).

Remove knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Aug 15 12:06:36 UTC 2023 on atb-devel-224

(Back-ported from commit 4145bfb1b5a3639caf26a310d612aec29fc00117)

Autobuild-User(v4-18-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-18-test): Fri Aug 18 14:07:39 UTC 2023 on atb-devel-224
selftest/knownfail.d/smb1_negprot_tcon [deleted file]
source3/smbd/smb2_process.c