1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib
Swen Schillig 2b2ff12e70 source4: 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
..
cmdline s4:lib: Use C99 initializer for poptOption in popt_credentials 2019-01-28 10:29:17 +01:00
com s4:lib:com: Fix function declartions 2018-03-01 04:37:40 +01:00
events s4:lib/events: remove unused allow_warnings=True 2014-11-25 07:25:46 +01:00
http libhttp: Fix CID 1273001 Dereference after null check 2018-04-04 00:44:22 +02:00
messaging s4/messaging/py: use better format strings for variable types 2019-02-08 13:31:39 +01:00
policy Cleanup (decref) some objects added to list. 2019-02-07 13:44:30 +01:00
registry source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
samba3
socket source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
stream dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
tls s4:lib: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:24 +01:00
wmi PEP8: fix W391: blank line at end of file 2018-08-24 07:49:31 +02:00