summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorSwen Schillig <swen@linux.ibm.com>2019-01-28 12:54:07 +0100
committerJeremy Allison <jra@samba.org>2019-03-01 00:32:10 +0000
commitc9f4b92a6131dedcaa38d6fe907d17a30a595f06 (patch)
tree58464a590db1ffce09885e24b5b3f16e43b3e3f1 /source3/wscript_build
parentcef18c2dfd60be372eee10cbcefd5849ae979d31 (diff)
downloadsamba-c9f4b92a6131dedcaa38d6fe907d17a30a595f06.tar.gz
lib: 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 'source3/wscript_build')
-rw-r--r--source3/wscript_build2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 04df7645622..41f01e392e2 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -366,6 +366,7 @@ bld.SAMBA3_LIBRARY('messages_dgm',
PTHREADPOOL
msghdr
genrand
+ samba-util
''',
private_library=True)
@@ -1363,6 +1364,7 @@ bld.RECURSE('smbd/notifyd')
bld.RECURSE('rpcclient')
bld.RECURSE('utils')
bld.RECURSE('nmbd')
+bld.RECURSE('lib/util')
bld.ENFORCE_GROUP_ORDERING()
bld.CHECK_PROJECT_RULES()