1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source4/torture
Jeremy Allison 9b357c947f 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>
(cherry picked from commit 6f149dfd9d)
2023-01-16 09:40:17 +00:00
..
auth s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
basic s4: torture: Use smbcli_unlink_wcard() in base.casetable test. 2021-12-09 18:06:35 +00:00
dfs s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
dns s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
drs selftest: Add tests for GetNCChanges GET_ANC using samba-tool drs clone-dc-database 2022-10-07 08:45:15 +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). 2023-01-16 09:40:17 +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 s4:torture/ndr: demonstrate the ndr_push_string(STR_NOTERM|REMAINING) of "" is wrong 2022-01-30 10:57:11 +00:00
ntp CVE-2022-38023 s4:torture: use NETLOGON_NEG_SUPPORTS_AES by default 2022-12-14 10:28:16 +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-24 09:29:26 +02:00
rpc CVE-2022-37967 Add new PAC checksum 2022-12-14 10:28:16 +00:00
smb2 s4: torture: Add an async SMB2_OP_FLUSH + SMB2_OP_FLUSH test to smb2.compound_async. 2023-01-16 09:40:17 +00:00
tests s4:torture: Change -U|--user to --user1 and --user2 2021-06-16 00:34:38 +00:00
unix s4: torture: Fix unix.info2 test to actually negotiate SMB1+POSIX before using POSIX calls. 2021-12-11 11:14:31 +00:00
vfs s4: smbtorture: Add fsync_resource_fork test to fruit tests. 2022-10-18 08:34:18 +00:00
winbind s4:torture: check for pac_blob==NULL in test_generate_session_info_pac() functions 2022-01-17 20:05:32 +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