[pcre-dev] Infinite loop by a certain pattern

Kezdőlap
Üzenet törlése
Szerző: guhin livedoor
Dátum:  
Címzett: Pcre-dev
Tárgy: [pcre-dev] Infinite loop by a certain pattern
Dear PCRE developers,

I found that infinite loop is produced by a certain pattern.

The following is a procedure of reproduction.

-------------------------------------------------

$ ./pcretest -C
PCRE version 7.9 2009-04-11
Compiled with
UTF-8 support
Unicode properties support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack

$ ./pcretest
PCRE version 7.9 2009-04-11

re> /(\x{ff}{0,2})*/8

-------------------------------------------------

Regards,
Guhin.