1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/passdb
Swen Schillig c957f6cc06 passdb: Use wrapper for string to integer conversion
In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-03-01 00:32:10 +00:00
..
ABI lib: Remove some unused code 2019-02-28 13:53:40 +00:00
account_pol.c passdb: Use wrapper for string to integer conversion 2019-03-01 00:32:10 +00:00
login_cache.c lib: Pass mem_ctx to cache_path() 2018-08-17 14:28:51 +02:00
lookup_sid.c passdb: Make [ug]id_to_sid use xid_to_sid 2019-02-28 12:57:24 +00:00
lookup_sid.h passdb: Introduce xid_to_sid 2019-02-28 12:57:24 +00:00
machine_account_secrets.c passdb: Add kerberos tracing 2018-12-19 21:49:29 +01:00
machine_sid.c s3:passdb formatting changes 2012-09-27 04:36:52 +02:00
machine_sid.h
passdb.c passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01: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 passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
pdb_ldap_schema.c
pdb_ldap_schema.h
pdb_ldap_util.c passdb: Use dom_sid_str_buf 2018-11-09 22:42:28 +01:00
pdb_ldap_util.h
pdb_ldap.c passdb: Use wrapper for string to integer conversion 2019-03-01 00:32:10 +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 pdb_nds: Fix CID 1273401 Unused value 2018-04-07 02:11:20 +02:00
pdb_nds.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_samba_dsdb.c passdb: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
pdb_secrets.c passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
pdb_secrets.h Convert all uses of uint32/16/8 to _t in source3/passdb. 2015-05-12 01:32:12 +02:00
pdb_smbpasswd.c pdb_smbpasswd: Use dom_sid_str_buf 2018-12-20 23:40:24 +01: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 passdb: Use wrapper for string to integer conversion 2019-03-01 00:32:10 +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 passdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
py_passdb.c Clean up reference used with PyDict_Setxxx 2019-02-07 17:17:46 +01: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: Don't leak memory on error in fetch_ldap_pw() 2018-08-11 01:49:16 +02:00
wscript_build wscript_build: fix c modules deps name for Python 3 2018-04-05 08:59:09 +02:00