]> git.ipfire.org Git - thirdparty/suricata.git/commit
detct/pcre: Correct capture group count check
authorJeff Lucovsky <jeff@lucovsky.org>
Mon, 8 Feb 2021 13:05:41 +0000 (08:05 -0500)
committerVictor Julien <victor@inliniac.net>
Mon, 15 Feb 2021 10:04:59 +0000 (11:04 +0100)
commitfe8b30f190d5ecadd39a0c79042fe2f40e63b889
tree38495dfc0396a3f5009c7a01933915230d15bf5a
parent8fe1094b0c01303ce27769b18a3cfcf9c4460852
detct/pcre: Correct capture group count check

This commit corrects the validation check between the number of
variables used and the number of specified capture groups.

(cherry picked from commit 469d5bb214195d8939be467c66ef1e6d25ad3e1f)
src/detect-pcre.c