-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: correct offset vector memory allocation size for PCRE2 #11019
Comments
please add some description as well instead of just adding links. |
This memory corruption causes nginx crash and can reproduce under "--with-no-pool-patch" build by running t/048-match-dfa.t TEST 9. The error only happens when there is consecutive regex calls and first call is traditional mode with captures and second call is DFA mode. Check the details in the test. test log error.log |
Can we wait for the new release of OpenResty to fix this bug? |
sure |
Current Behavior
found here:
openresty/lua-nginx-module#2291
openresty/stream-lua-nginx-module#341
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
found here:
openresty/lua-nginx-module#2291
openresty/stream-lua-nginx-module#341
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: