]> git.ipfire.org Git - thirdparty/suricata.git/commit
datasets: fix dataset load path construction 5386/head
authorJason Ish <jason.ish@oisf.net>
Tue, 8 Sep 2020 16:54:20 +0000 (10:54 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 8 Sep 2020 17:48:35 +0000 (19:48 +0200)
commitc4d0a61eca10d3b6f08ea028c3388d01dc47298f
tree538a027830a8eaf10086f968b6c1ee3a0baf3146
parente3b28bcf2a93529b58ad3d6c056daab6e8eed7a9
datasets: fix dataset load path construction

Test the full path instead of just the filename provided in the
rule to see if it exists.

Fixes the case where a rule file is loaded from a directory
other than the default-rule-directory.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3916
src/detect-dataset.c