Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Ralph Böhme <[email protected]> Reviewed-by: Jeremy Allison <[email protected]>
- Loading branch information