[Privoxy-devel] PATCH for pcre2 support

Fabian Keil fk at fabiankeil.de
Wed Jun 28 12:54:04 CEST 2023


Fabian Keil <fk at fabiankeil.de> wrote on 2023-06-27 at 18:19:24:

> Gagan Sidhu <broly at mac.com> wrote on 2023-06-26 at 07:41:52:
> 
> > > On Jun 26, 2023, at 6:33 AM, Fabian Keil <fk at fabiankeil.de> wrote:
> 
> > > I'm now thinking we may have to use the pcre2_match() API
> > > everywhere instead of using the POSIX interface (regexec() etc.).
> > > 
> > this does seem to be the only solution, and i think i’ll be busy
> > this week but if i find the time, i will try that.
> 
> I looked into this and it seems to indeed work around the crashes.
[...] 
> The patch set I'm currently testing is available at:
> <https://www.fabiankeil.de/sourcecode/privoxy/privoxy-pcre2-support-wip-2023-06-27.diff>

It would be great if someone could test the patches on Windows.

w32log.c still uses regcomp() and regexec() and it would
be good to know if this causes crashes, too.

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/20230628/d05dca13/attachment.bin>


More information about the Privoxy-devel mailing list