1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source4/torture
Jeremy Allison 6f149dfd9d s4: torture: Add an async SMB2_OP_FLUSH + SMB2_OP_FLUSH test to smb2.compound_async.
Shows we fail sending an SMB2_OP_FLUSH + SMB2_OP_FLUSH
compound if we immediately close the file afterward.

Internally the flushes go async and we free the req, then
we process the close. When the flushes complete they try to access
already freed data.

Extra test which will allow me to test when the final
component (flush) of the compound goes async and returns
NT_STATUS_PENDING.

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>
2022-11-17 04:58:28 +00:00
..
auth s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
basic source4/torture: Drop unused variable tdif 2022-02-17 18:12:52 +00:00
dfs s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
dns tortures/dlz: more DNS update tests 2022-06-17 01:28:30 +00:00
drs selftest: Add tests for GetNCChanges GET_ANC using samba-tool drs clone-dc-database 2022-10-04 02:48:37 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture: Adapt KDC canon test to Heimdal upstream changes 2022-01-19 20:50:35 +00:00
ldap s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
ldb Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
libnet s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
libnetapi torture: Fix build on freebsd, missing deps on cmdline 2021-06-22 02:05:17 +00:00
libsmbclient s4: torture: Show return value for smbc_getxattr() is incorrect (returns >0 for success, should return zero). 2022-11-01 17:32:30 +00:00
local s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
nbt s4/torture: Update winsreplication to only use IPv4 addresses 2019-03-27 13:31:27 +00:00
ndr librpc:ndr: Update ndr_print_debug() to the new ndr ABI 2022-07-15 14:25:38 +00:00
ntp s4:torture: Use GnuTLS MD5 in ntp_signd test 2019-05-21 00:03:23 +00:00
rap s4:torture: Use GnuTLS RC4 for RAP SAM test 2019-07-26 01:48:25 +00:00
raw CVE-2022-32742: s4: torture: Add raw.write.bad-write test. 2022-07-27 10:52:36 +00:00
rpc s3:rpcclient: Pass salt down to init_samr_CryptPasswordAES() 2022-10-25 09:34:33 +00:00
smb2 s4: torture: Add an async SMB2_OP_FLUSH + SMB2_OP_FLUSH test to smb2.compound_async. 2022-11-17 04:58:28 +00:00
tests s4:torture: Fix shellcheck errors in test_masktest.sh 2022-08-22 20:35:36 +00:00
unix s4/torture/unix_info2: return NULL on failure 2022-06-17 02:18:32 +00:00
vfs s4: smbtorture: Add fsync_resource_fork test to fruit tests. 2022-10-06 22:03:35 +00:00
winbind selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag 2022-04-08 20:13:37 +00:00
gentest.c s4/torture/gentest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
locktest.c s4/torture/locktest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
masktest.c s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest. 2021-12-09 18:06:35 +00:00
shell.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.h s4:torture/smb2: replace torture:cn_max_buffer_size option with the negotiated max trans size 2019-03-28 23:09:37 +00:00
torture.c s4:torture: Remove unused include 2021-06-16 00:34:38 +00:00
util_smb.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
util.h s4:torture: add a torture_user2_credentials() helper to pass additional credentials 2021-03-17 00:49:32 +00:00
wscript_build s4:waf: Fix dependencies for TORTURE_UTIL 2021-12-06 22:08:31 +00:00