Skip to content
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

Pcre threadsafe 4720 v3 #6429

Closed
wants to merge 3 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/4720

Describe changes:

  • Creates a pcre2_match_data for each thread to be used in of DetectPcrePayloadMatch
  • Creates a pcre2_match_data for each call to pcerexform Transform (as we do not have access to DetectEngineThreadCtx in transforms)

Replaces #6427 with fixing compilation and formatting check

So that DetectPcrePayloadMatch is thread safe
and does not rewrite a shared parse_regex.match structure
@catenacyber catenacyber requested a review from a team as a code owner September 30, 2021 13:41
This was referenced Sep 30, 2021
@catenacyber
Copy link
Contributor Author

Replaced by #6430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant