Author: Philip Hazel Date: To: pcre-dev Subject: Re: [pcre-dev] Memory overrun with LINK_SIZE 3
On Mon, 10 Oct 2011, Philip Hazel wrote:
> On Mon, 10 Oct 2011, Ralf Junker wrote:
>
> > pcretest compiled with a LINK_SIZE of 3 results in a memory overrun
> > which can lead to an AV.
>
> Which release of PCRE?
>
> > This is the pattern:
> >
> > /^(A(*THEN:A)B|C(*THEN:B)D)/S
>
> Just this morning when running the full test set (which includes a test
> with LINK_SIZE 3) I found a problem with THEN:ARG, which I am in the
> process of fixing. However, this was with the current code, which has
> been changed since 8.13. So if you are using 8.13, this must be
> something else.
Your example does cause a problem that valgrind finds if run on the
currently committed development code; the fix I have just implemented
mends it. I am about to commit the fix.