Re: [pcre-dev] pcre_exec() with out-of-bounds offset

Góra strony
Delete this message
Autor: Philip Hazel
Data:  
Dla: Ralf Junker
CC: pcre-dev
Temat: Re: [pcre-dev] pcre_exec() with out-of-bounds offset
On Tue, 2 Nov 2010, Ralf Junker wrote:

> pcre_exec() returns strange values if I pass an offset greater than the
> length of the subject string.


Oops. I would expect it to give an error (negative) return. Sound like
an oversight. I'm doing some work on PCRE at the moment, and I will
investigate. Thanks for the report.

Philip

--
Philip Hazel