1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/libcli
Swen Schillig 58e2c15344 libcli: 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:11 +00:00
..
auth libcli:auth: Remove unused header file 2019-02-27 10:00:32 +00:00
cldap tevent: Fix callers of tevent_req_set_endtime 2018-04-24 19:41:15 +02:00
dns Fix tests when building with selftest but without developer 2019-01-25 21:57:57 +01:00
drsuapi drsuapi: Use the zlib version of crc32 2018-10-09 22:32:12 +02:00
echo s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
ldap typo: mplementation => implementation 2016-05-06 05:03:16 +02:00
lsarpc libcli/lsarpc: add struct trustAuthInOutBlob; forward declaration 2014-04-02 09:03:42 +02:00
named_pipe_auth Fix spelling s/conection/connection/ 2018-05-12 02:09:26 +02:00
nbt pynbt: catch type errors in PyObject_AsNBTName() 2019-02-01 03:36:17 +01:00
netlogon libcli/netlogon: We need to handle a bug in FreeIPA (at least <= 4.1.2). 2015-01-05 17:01:08 +01:00
registry build: Make util_reg subsystem in libcli/registry a library 2011-05-18 16:12:08 +02:00
samsync libcli:samsync: Remove unused header file 2019-02-27 07:59:27 +00:00
security libcli: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
smb libcli:smb: Zero sensitive memory after use 2019-02-27 01:35:19 +01:00
smbreadline libcli:smbreadline: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:22 +01:00
util libcli: remove declaration of nt_errstr_const 2019-01-16 18:51:27 +01:00