1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/torture
Andreas Schneider 09d731470e s4:torture: Initialize struct smb2_handle
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/source4/torture/smb2/lease.c:336: var_decl: Declaring variable ""hnew"" without initializer.
samba-4.20.0rc2/source4/torture/smb2/lease.c:377: uninit_use_in_call: Using uninitialized value ""hnew"" when calling ""smb2_util_close"".
  375|    done:
  376|   	smb2_util_close(tree, h);
  377|-> 	smb2_util_close(tree, hnew);
  378|
  379|   	smb2_util_unlink(tree, fname);"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
2024-06-28 11:39:33 +00:00
..
auth lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
basic lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
dfs s4:torture:dfs: Fix code spelling 2023-08-14 21:45:29 +00:00
dns s4:torture:dns: Fix code spelling 2023-08-14 21:45:30 +00:00
drs s4/pytest: remove py2 str/bytes workaround in getnc_exop 2024-06-12 08:14:34 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture:krb5: Fix code spelling 2023-08-14 21:45:30 +00:00
ldap s4:torture:ldap: Fix code spelling 2023-08-14 21:45:30 +00:00
ldb ldb-samba: use ldb_comparison_fold_utf8() 2024-05-22 23:12:32 +00:00
libnet s4-libnet: Split up samba-net into samba-net and samba-net-join 2024-06-05 20:42:34 +00:00
libnetapi netapi: Pass net's cmdline credentials to libnetapi_net_init() 2023-09-11 02:42:41 +00:00
libsmbclient libsmb: Fix test for smbc_getxattr 2023-04-09 10:44:38 +00:00
local util/charset/tests: Add tests for UTF‐16 string length functions 2023-11-15 22:07:36 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench s4:torture:nbench: Fix code spelling 2023-08-14 21:45:30 +00:00
nbt s4:torture: Initialize struct nbt_name_query 2024-06-28 11:39:33 +00:00
ndr librpc:ndr: Introduce ‘ndr_flags_type’ type 2023-11-01 20:10:45 +00:00
ntp libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
rap s4:torture: Use GnuTLS RC4 for RAP SAM test 2019-07-26 01:48:25 +00:00
raw torture4: Fix some whitespace 2024-06-24 16:21:32 +00:00
rpc s4:torture: Add missing NULL checks in spoolss.c 2024-06-13 12:25:37 +00:00
smb2 s4:torture: Initialize struct smb2_handle 2024-06-28 11:39:33 +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 smbtorture: add test for fruit:validate_afpinfo option 2023-10-24 22:30:06 +00:00
winbind s4:torture: Fix code spelling 2023-08-14 21:45:30 +00:00
gentest.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
locktest.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +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 lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +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 lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +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-libnet: Split up samba-net into samba-net and samba-net-join 2024-06-05 20:42:34 +00:00