]> git.ipfire.org Git - people/ms/suricata.git/commit
src: remove multiple uses of atoi
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 23 Jun 2020 07:54:24 +0000 (13:24 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 8 Jul 2020 07:38:23 +0000 (13:08 +0530)
commit0dac69919725930e3c9ab7695d7a64b138c5422a
tree9116b1c6489a498cde6270b834dd363d2d35dd8c
parenta98a20973230bb662ddf204fb4be7b7fb657024c
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* functions.

Closes redmine ticket 3053.
src/detect-byte-extract.c
src/detect-cipservice.c
src/detect-engine-port.c
src/detect-fast-pattern.c
src/detect-ipproto.c
src/detect-iprep.c
src/detect-krb5-errcode.c
src/detect-krb5-msgtype.c
src/detect-modbus.c