]> git.ipfire.org Git - thirdparty/samba.git/commit
s4: torture: Add an async SMB2_OP_FLUSH + SMB2_OP_CLOSE test to smb2.compound_async.
authorJeremy Allison <jra@samba.org>
Tue, 18 Oct 2022 23:22:33 +0000 (16:22 -0700)
committerJule Anger <janger@samba.org>
Mon, 16 Jan 2023 09:40:17 +0000 (09:40 +0000)
commitc9ed55b39efc7638b898db6df8352b10950c6c93
treeac7b2fdf87be259e7794e76f50537bc548e152b2
parentd7bcdfa6b88d639c6d8c4352722b432d93fdb328
s4: torture: Add an async SMB2_OP_FLUSH + SMB2_OP_CLOSE test to smb2.compound_async.

Shows we fail sending an SMB2_OP_FLUSH + SMB2_OP_CLOSE
compound. Internally the flush goes async and
we free the req, then we process the close.
When the flush completes it tries to access
already freed data.

Found using the Apple MacOSX client at SNIA SDC 2022.

Add knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(back-ported from commit 17a110c1b58196eb8ecf3c76eb97e8508976c544)
selftest/knownfail.d/compound_async [new file with mode: 0644]
source3/selftest/tests.py
source4/torture/smb2/compound.c
source4/torture/smb2/smb2.c