in reply to Re^2: safe untrusted regexp
in thread safe untrusted regexp
I didn't say it directly but now I will. A regexp on perl's recursive regexp engine can cause it to run out of C stack which then triggers a segfault. That aborts your program. There are patches to perl for versions lie 5.8.4+ (or similar) to either mitigate this or completely work around it. This problem is completely gone in 5.9.4. You could upgrade to that immediately if you wished. It was just released yesterday.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: safe untrusted regexp
by jettero (Monsignor) on Aug 16, 2006 at 16:50 UTC | |
by ikegami (Patriarch) on Aug 16, 2006 at 17:27 UTC |