Overview
| Artifact ID: | 6661c56d325824bb5d4384f17e20410f9f48e085 |
|---|---|
| Ticket: | 1905562fffffffffffffffffffffffffffffffff
test reg-33.14 gets pointer smash |
| User & Date: | dgp on 2008-03-19 04:57:29 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO On a platform where test reg-33.14 does not crash, I see: % regexp {(x{222}){222}$y} x couldn't compile regular expression pattern: nfa has too many states So if things continue to get bigger, this error message appears to protect against the possibility of stack overflow everywhere. It's assumed there's enough stack to cover traversal of all nfa's with states below the limit. Points to a possible fix of imposing a smaller limit on these stack-limited platforms? Alternative would be a significant rewrite of the RE engine guts to not do so much recursive stuff. Shorter term, we can either drop the demands of test reg-33.14 to avoid confronting the issue in the test suite, or simply mark it as a nonportable test. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"