]> git.ipfire.org Git - thirdparty/suricata.git/commit
runmode: fix coverity warning 11755/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 10 Sep 2024 07:24:59 +0000 (09:24 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Sep 2024 07:53:04 +0000 (09:53 +0200)
commit31bed10ff6666cc122ebca7b2283fd2bd1b9ba90
tree9f5d11c989aac339ac54118ebc35dd4c0a9d89e7
parentdc3c048b49c5c949836367176b81054e2fbd828e
runmode: fix coverity warning

CID 1619284:  Memory - illegal accesses  (OVERRUN)

In ParseAFXDPConfig, a pointer to bool is cast into a pointer
to int.

Also removing the cast pattern when useless
src/runmode-af-packet.c
src/runmode-af-xdp.c
src/runmode-netmap.c
src/source-nfq.c