diff options
author | Swen Schillig <swen@linux.ibm.com> | 2019-01-29 13:27:28 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-03-01 00:32:11 +0000 |
commit | 81cc7a35189fffc0538997e739f4556142ae5458 (patch) | |
tree | 36d1491a7c1ad35f66856f5642fa6c3b0e3651b7 /nsswitch | |
parent | 55acae774a9994715043dfe6e7668c19f514c545 (diff) | |
download | samba-81cc7a35189fffc0538997e739f4556142ae5458.tar.gz |
ctdb-tools: 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>
Diffstat (limited to 'nsswitch')
0 files changed, 0 insertions, 0 deletions