]> git.ipfire.org Git - thirdparty/suricata.git/commit
src: remove multiple uses of atoi
authorShivani Bhardwaj <shivanib134@gmail.com>
Sat, 21 Dec 2019 08:37:58 +0000 (14:07 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Fri, 26 Jun 2020 06:59:56 +0000 (12:29 +0530)
commit2162c52b17ce09c76cc900ec45b4b05fb87095a7
tree08d10403068c4aa843b2d2f1f9feaad9eb4fcf19
parent271e33fbaa055585be1a9ee0c323c700b26df66e
src: remove multiple uses of atoi

atoi() and related functions lack a mechanism for reporting errors for
invalid values. Replace them with calls to the appropriate
ByteExtractString* and StringParse* functions.

Partially closes redmine ticket #3053.
src/util-affinity.c
src/util-classification-config.c
src/util-cpu.c
src/util-host-info.c
src/util-host-os-info.c
src/util-ip.c
src/util-log-redis.c
src/util-napatech.c
src/util-privs.c
src/util-proto-name.c
src/util-radix-tree.c