]> git.ipfire.org Git - thirdparty/suricata.git/commit
plugins: track all loaded plugins in a list 5317/head
authorJason Ish <jason.ish@oisf.net>
Tue, 11 Aug 2020 16:26:43 +0000 (10:26 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 24 Aug 2020 07:16:27 +0000 (09:16 +0200)
commitb8994cdaca119360ff8f18cc2432460d10142c5d
tree8b918d1c34a259a1b57b09b7d32b9a080e78badc
parentdbb5dcb1dd7869def9b419a1dbb00530d8d8db2c
plugins: track all loaded plugins in a list

Track the pointer returned from dlopen in a list to prevent a
resource leak by the pointer going out of scope.

Found by Coverity, CID 1465661.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3864
src/util-plugin.c