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

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: Ralf Junker
CC: pcre-dev
Tárgy: 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