1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/libcli/resolve
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
..
bcast.c libcli/resolve: Make functions static 2018-01-23 06:36:36 +01:00
dns_ex.c source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
host.c
lmhosts.c libcli/resolve: Make functions static 2018-01-23 01:49:23 +01:00
nbtlist.c s4:libcli/resolve: avoid some const warnings 2014-04-02 09:03:43 +02:00
resolve_lp.c s4-libcli: Remove obsolete support for file resolving. 2014-12-18 06:47:40 +01:00
resolve.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
resolve.h
testsuite.c s4:libcli/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
wins.c s4:libcli/resolve: avoid some const warnings 2014-04-02 09:03:43 +02:00