]> git.ipfire.org Git - thirdparty/suricata.git/commit
log/pcap: exit on invalid filename
authorEric Leblond <eric@regit.org>
Wed, 10 Feb 2021 15:23:25 +0000 (16:23 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 3 May 2022 11:30:21 +0000 (13:30 +0200)
commitbd66679b2ee354f2470785c8429f4078b4b8a4a9
tree863ebd29ac49a05909cca79ccd7169ac10019976
parent9796c59b50507b41cce412841ec360f69b28585e
log/pcap: exit on invalid filename

If the filename has to % sign and if pcap logging is using multi
mode, then the pcap capture will fail. So let's exit if ever this
is the case.

(cherry picked from commit 921d44b262f30555ea747653b050dfde4188c042)
src/log-pcap.c