diff options
author | Swen Schillig <swen@linux.ibm.com> | 2019-01-29 14:21:25 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-03-01 00:32:11 +0000 |
commit | ea7231dcc0b50c535f913f0542d600d0b2119a21 (patch) | |
tree | 517658a92fbbde53fa5e0f0af61d89cd4c7b3500 /PFIF.txt | |
parent | 81cc7a35189fffc0538997e739f4556142ae5458 (diff) | |
download | samba-ea7231dcc0b50c535f913f0542d600d0b2119a21.tar.gz |
libwbclient: 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 'PFIF.txt')
0 files changed, 0 insertions, 0 deletions