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

Αρχική Σελίδα
Delete this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Ralf Junker
Υ/ο: pcre-dev
Αντικείμενο: 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