[Privoxy-devel] PATCH for pcre2 support
Fabian Keil
fk at fabiankeil.de
Mon Jun 26 14:33:08 CEST 2023
Gagan Sidhu <broly at mac.com> wrote on 2023-06-25 at 15:14:51:
> fabes i did more digging and it seems to be one of the flags
> being passed to the regcomp function in the compile_pattern function of urlmatch.c
>
>
> by adding “REG_UNGREEDY” to the regcomp flags, the tests complete with 5 forks (see below).
I can't reproduce this, I still get the crashes with REG_UNGREEDY.
I tried to workaround the crashes by adding a mutex to
get_url_actions() but that didn't help either.
I'm now thinking we may have to use the pcre2_match() API
everywhere instead of using the POSIX interface (regexec() etc.).
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20230626/1327c560/attachment.bin>
More information about the Privoxy-devel
mailing list