Re: [pcre-dev] Result of pcre2_get_startchar() undefined as …

Pàgina inicial
Delete this message
Autor: ph10
Data:  
A: Ralf Junker
CC: pcre-dev@exim.org
Assumpte: Re: [pcre-dev] Result of pcre2_get_startchar() undefined as of SVN 1176
On Tue, 15 Oct 2019, Ralf Junker wrote:

> As of SVN revision 1176, pcre2_get_startchar() may return an arbitrary,
> undefined result.


...

> Without further testing, the same problem seems to be present for JIT
> matching at around line 6215.


Thank you for picking this up. I have done the obvious fix (initialize
startchar to zero), which solves the issue for both the interpreter and
JIT.

Philip

--
Philip Hazel