]> git.ipfire.org Git - thirdparty/snort3.git/commit
Pull request #3370: JS stack limit.
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 12 Apr 2022 12:29:06 +0000 (12:29 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 12 Apr 2022 12:29:06 +0000 (12:29 +0000)
commit074299c36c3ea38b1e2eaec216cfbaf5dcc24a3a
tree0f587f5ecd405cf484e66a6096936c0865ad6735
parentd0daf99e36ef635f2b04d2c5615e380597bbbdb9
Pull request #3370: JS stack limit.

Merge in SNORT/snort3 from ~OSHUMEIK/snort3:js_regex_grp_limit to master

Squashed commit of the following:

commit 07c377d4a4c4e3aea177047747fbe61fcf1a4b27
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Mon Apr 11 11:43:30 2022 +0300

    utils: limit JS regex stack size

    The 'http_inspect.js_norm_max_tmpl_nest' configuration option controls the limit.
src/utils/js_tokenizer.h
src/utils/js_tokenizer.l
src/utils/test/js_normalizer_test.cc