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

[Core] Move project to PCRE2 #2299

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. [mod_verto] Fix memory leak by correctly freeing regex

    For mod_verto regex was never freed and was actually leaking memory.
    Correctly free the compiled regex to fix the memory leak.
    
    Signed-off-by: Christian Marangi <[email protected]>
    Ansuel committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    83b3871 View commit details
    Browse the repository at this point in the history
  2. [Core] Move project to PCRE2

    Move project to PCRE2 as PCRE is EOL and won't receive any security
    updates anymore.
    
    PCRE2 have different API compared to PCRE. Mainly PCRE2 have the concept
    of match_data, no ovector needs to be passed, different handling for
    error string and different handling for substring manipulation.
    
    Update any user of PCRE library with the new API
    
    Signed-off-by: Christian Marangi <[email protected]>
    Ansuel committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b87c179 View commit details
    Browse the repository at this point in the history