Author: Philip Hazel Date: To: Ralf Junker CC: pcre-dev Subject: 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.