Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regexp segfault with space before quantifier #313

Open
The-Markitecht opened this issue Oct 4, 2024 · 1 comment
Open

regexp segfault with space before quantifier #313

The-Markitecht opened this issue Oct 4, 2024 · 1 comment

Comments

@The-Markitecht
Copy link
Contributor

Welcome to Jim version 0.84
. info patchlevel
0.82-134-gdcea42c
. regexp -inline -expanded { a ( b b ) + } {abbbbbbcde}
Segmentation fault

This happens to be one of the many test cases I'm suggesting in #311

msteveb added a commit that referenced this issue Oct 7, 2024
The previous approach could end up with a zero length "EXACTLY"
match that would recurse infinitely until stack overflow.

Fixes #313

Signed-off-by: Steve Bennett <[email protected]>
@msteveb
Copy link
Owner

msteveb commented Oct 7, 2024

Thanks. Needed a bit more work. Try master-next now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants