Bug#476419: libpcre3: stack overflow via certain regular expressions

2008-04-23 Thread Tomas Hoger
Hi Florian! On Tue, 22 Apr 2008 22:45:40 +0200 Florian Weimer <[EMAIL PROTECTED]> wrote: > > Default recursion limit assumed by pcre seems to be set way too > > high. Rebuilding pcre with --with-match-limit-recursion set to > > lower value avoids SEGVs. > > Ah, I wasn't ware of that option, than

Bug#476419: libpcre3: stack overflow via certain regular expressions

2008-04-22 Thread Florian Weimer
* Tomas Hoger: > Default recursion limit assumed by pcre seems to be set way too high. > Rebuilding pcre with --with-match-limit-recursion set to lower value > avoids SEGVs. Ah, I wasn't ware of that option, thanks. Hopefully it's not necessary to specify --disable-stack-for-recursion. There's

Bug#476419: libpcre3: stack overflow via certain regular expressions

2008-04-21 Thread Tomas Hoger
retitle 476419 libpcre3: stack overflow via certain regular expressions thanks Hi! This really seems to be what valgrind says it is -- Stack overflow. Kai's regular expression triggers deep recursion in match(), finally leading to a stack overflow after ~8000 nested calls (on Debian). Attached i