Fixed an issue affecting recursions in JIT
Hi Development Team,
I identified a potential vulnerability in clone functions in thirdparty/pcre2/pcre2_jit_compile.c sourced from PCRE2Project/pcre2. This issue, originally reported in CVE-2022-1587, was resolved in the repository via this commit https://github.com/PCRE2Project/pcre2/commit/03654e751e7f0700693526b67dfcadda6b42c9d0.
This PR applies the corresponding patch to fix the vulnerability in this codebase.
Please review at your convenience. Thank you!
Thanks!
We had just made a plan to the PCRE version earlier this week. This is certainly added motivation. Will review whether it makes sense to merge this in advance.
Moved to the version of pcre2 with the fix.