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

mismatching closing parenthesis causes segfault #10

Open
ennorehling opened this issue Oct 31, 2022 · 0 comments
Open

mismatching closing parenthesis causes segfault #10

ennorehling opened this issue Oct 31, 2022 · 0 comments

Comments

@ennorehling
Copy link

ceval will crash when given an expression like ")", "1)", or "pi)":

(gdb) r ')'
Starting program: /home/enno/ceval/example ')'

Program received signal SIGSEGV, Segmentation fault.
0x0000555555557e04 in ceval_insert_node (current=0x7fffffffddd0, item=..., isRightAssoc=1) at ./core/parser.h:41
41              parent_of_openpar -> right = current -> right;
@ennorehling ennorehling changed the title mismatchig parenthesis causes segfault mismatching closing parenthesis causes segfault Oct 31, 2022
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

1 participant