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

トップ ページ
このメッセージを削除
著者: Philip Hazel
日付:  
To: Ralf Junker
CC: 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