1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/examples
Andreas Schneider 5eb58b16ca examples: Make sure the array is probably initialized
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/examples/libsmbclient/testacl2.c:27: var_decl: Declaring variable ""value"" without initializer.
samba-4.20.0rc2/examples/libsmbclient/testacl2.c:48: uninit_use_in_call: Using uninitialized value ""*value"" as argument to ""%s"" when calling ""printf"". [Note: The source code implementation of the function has been overridden by a builtin model.]
   46|   	}
   47|
   48|-> 	printf(""Attributes for [%s] are:\n%s\n"", argv[1], value);
   49|
   50|   	flags = 0;"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
2024-06-30 23:20:33 +00:00
..
ad-bench examples: Reformat shell scripts 2022-02-22 16:20:58 +00:00
auth/crackcheck auth3: Remove auth_skel.c 2021-04-19 18:18:31 +00:00
autofs
dce-dfs examples: Make codespell happy 2023-07-13 05:41:36 +00:00
fuse libsmb: Execute a "TODO", remove IVAL2_TO_SMB_BIG_UINT 2024-05-22 04:23:29 +00:00
LDAP examples: Fix spelling 2023-04-11 09:06:35 +00:00
libsmbclient examples: Make sure the array is probably initialized 2024-06-30 23:20:33 +00:00
logon examples: Fix invalid escape sequences 2023-10-13 03:50:31 +00:00
misc misc: fix AD trust attributes in adssearch 2019-09-20 01:14:42 +00:00
nss
pam_winbind examples: Fix code spelling 2023-03-28 09:33:31 +00:00
pcap2nbench examples: Fix code spelling 2023-03-28 09:33:31 +00:00
pdb lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
perfcounter lib/replace: Do not typedef int bool 2022-03-23 12:31:47 +00:00
printer-accounting examples: Fix code spelling 2023-03-28 09:33:31 +00:00
printing examples: Use cp with force option 2024-06-28 11:39:33 +00:00
scripts examples/scripts: add smbXsrvdump 2024-01-09 10:21:34 +00:00
systemtap examples: Update winbind.stp 2022-05-19 17:51:33 +00:00
VFS examples: Fix code spelling 2023-10-25 22:23:37 +00:00
winexe winexe: Make sure specificError is initialized 2024-06-30 23:20:33 +00:00
README docs: Point to wiki Contribute page rather than samba-technical 2020-06-12 22:11:43 +00:00
smb.conf.default examples: Improve comment in smb.conf.default 2023-03-28 09:33:31 +00:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

To contribute to Samba see: https://wiki.samba.org/index.php/Contribute