Re: [pcre-dev] Memory overrun with LINK_SIZE 3

Startseite
Nachricht löschen
Autor: Ralf Junker
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] Memory overrun with LINK_SIZE 3
Thanks the fast fix, it works well here. You were right in assuming that
I was testing the current code. Sorry for not pointing this out.

To sum up: No problems found with PCRE 8.20-RC3.

Ralf

On 10.10.2011 17:56, Philip Hazel wrote:

> 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.