Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests-util: Adding test to verify "allow no conversion" flag
The internal string conversion routines smb_strtoul(l) return an error if the provided string could not be converted to an integer. This can be the case if the string is empty or if it starts with non-numeric characters which cannot be converted. The standard C library, however, does allow this and simply returns 0 as the converted value. If this behaviour is wanted, it can be enabled by using the "SMB_STR_ALLOW_NO_CONVERSION" flag. Signed-off-by: Swen Schillig <[email protected]> Reviewed-by: Ralph Boehme <[email protected]> Reviewed-by: Christof Schmitt <[email protected]> Autobuild-User(master): Ralph Böhme <[email protected]> Autobuild-Date(master): Sun Jun 30 12:47:24 UTC 2019 on sn-devel-184
- Loading branch information