1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
samba-mirror/source3/passdb
Andrew Walker e9a804c9bd s3:param:py_param - allocate buffer for nt_name and comment
nt_name and comment are allocated via talloc_strdup(). Length
is not guaranteed to be sizeof(fstring) and so rather than use
fstrcpy into a possibly NULL buffer, free original string, then
talloc_strdup() the one provided to us.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 27 22:07:45 UTC 2021 on sn-devel-184
2021-05-27 22:07:45 +00:00
..
ABI passdb: Increase ABI version to 0.28.0 2019-03-07 01:30:49 +00:00
account_pol.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
login_cache.c lib: Pass mem_ctx to cache_path() 2018-08-17 14:28:51 +02:00
lookup_sid.c CVE-2021-20254 passdb: Simplify sids_to_unixids() 2021-04-29 09:55:51 +00:00
lookup_sid.h passdb: Introduce xid_to_sid 2019-02-28 12:57:24 +00:00
machine_account_secrets.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
machine_sid.c passdb: Use struct allocation 2020-01-30 12:27:40 +00:00
machine_sid.h
passdb.c auth:creds: Add obtained arg to cli_credentials_set_kerberos_state() 2021-04-28 03:43:34 +00:00
pdb_compat.c passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
pdb_get_set.c passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
pdb_interface.c lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
pdb_ldap_schema.c
pdb_ldap_schema.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.c Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
pdb_ldap.h lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
pdb_nds.c Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_nds.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_samba_dsdb.c auth:creds: Add obtained arg to cli_credentials_set_kerberos_state() 2021-04-28 03:43:34 +00:00
pdb_secrets.c passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
pdb_secrets.h
pdb_smbpasswd.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
pdb_smbpasswd.h lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
pdb_tdb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
pdb_tdb.h lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
pdb_util.c s3/passdb: clang: Fix 'Value stored during its initialization is never read' 2019-09-26 18:41:26 +00:00
py_passdb.c s3:param:py_param - allocate buffer for nt_name and comment 2021-05-27 22:07:45 +00:00
secrets_lsa.c s3:secrets: rename secrets_delete() to secrets_delete_entry() 2017-06-27 16:57:45 +02:00
secrets.c s3:passdb: Fix 'return 1' in secrets_store_creds() 2021-04-20 06:42:50 +00:00
wscript_build smbdes: add des_crypt56_gnutls() using DES-CBC with zeroed IV 2019-12-10 00:30:30 +00:00