1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/torture
Stefan Metzmacher 54de0e4a3e s4:torture: add tests to test the SMB2 read/write offset/length boundaries
[MS-FSA] 2.1.5.2 Server Requests a Read and
2.1.5.3 Server Requests a Write define some contraints.

These tests demonstrate that ((int64_t)offset) < 0) is
not allowed for both reads and writes for SMB.
Also the special case for writes at offset -2 is not possible
nor the append mode with offset < 0.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2020-05-12 19:53:43 +00:00
..
auth s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
basic s4: torture: Add an SMB1-specific open root of share with @GMT-path test - base.smb1-twrp-openroot 2020-05-05 19:18:43 +00:00
dfs s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
dns dlz: Add test to ensure there are writable zones 2019-03-26 03:03:23 +00:00
drs pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
gpo Fix clang 9 logical-not-parentheses warnings 2020-05-08 09:31:31 +00:00
krb5 selftest: allow any kdc error in mitm-s4u2self test 2019-11-19 14:48:41 +00:00
ldap torture: Remove unused torture_ldap_connection2() 2019-05-06 05:46:11 +00:00
ldb Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
libnet PY3: change shebang to python3 in source4/torture dir 2018-12-14 14:40:20 +01:00
libnetapi s4:torture: Initialize pointers in libnetapi user test 2018-11-22 22:13:26 +01:00
libsmbclient s4/torture: fix timeval wrap in torture_libsmbclient_utimes() test 2020-04-11 12:23:59 +00:00
local lib:crypto: Remove our implementation of AES GCM 2019-12-10 19:06:27 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench source4: Update all consumers of strtoul_err(), strtoull_err() to new API 2019-06-30 11:32:18 +00:00
nbt s4/torture: Update winsreplication to only use IPv4 addresses 2019-03-27 13:31:27 +00:00
ndr Fix clang 9 constant-conversion warnings 2020-05-08 09:31:31 +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 Add SMB2 lsa helper routines 2020-04-28 18:09:39 +00:00
rpc torture4: Move a variable declaration closer to its use 2020-05-05 11:48:38 +00:00
smb2 s4:torture: add tests to test the SMB2 read/write offset/length boundaries 2020-05-12 19:53:43 +00:00
tests s4-torture: Fix kinit of samba4.blackbox.locktest 2017-04-29 23:31:10 +02:00
unix s4/torture/unix: cppcheck: Fix shiftTooManyBitsSigned error 2019-06-04 22:13:07 +00:00
vfs Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
winbind torture: Cope with WINBINDD_SHOW_SEQUENCE failure for fake trusts 2018-05-29 02:31:40 +02:00
gentest.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
locktest.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
masktest.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
shell.c s4:torture: Use #ifdef instead of #if for config.h definitions 2018-11-29 02:20:48 +01:00
smbtorture.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +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: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
util_smb.c Add SMB2 lsa helper routines 2020-04-28 18:09:39 +00:00
util.h
wscript_build s4-torture: add ndr svcctl testsuite 2020-03-09 15:00:31 +00:00