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

SIGSEV #43

Open
jD91mZM2 opened this issue Aug 1, 2017 · 3 comments
Open

SIGSEV #43

jD91mZM2 opened this issue Aug 1, 2017 · 3 comments

Comments

@jD91mZM2
Copy link

jD91mZM2 commented Aug 1, 2017

An unclosed OBTW result in a segmation fault.

@initbar
Copy link

initbar commented Oct 15, 2017

Hi could you provide an example code (and perhaps environment)?

@jD91mZM2
Copy link
Author

To me it worked every time I had an unclosed statement, although I no longer have lolcode installed

@initbar
Copy link

initbar commented Nov 1, 2017

@jD91mZM2 sorry for the late reply.

Nice catch ! I was also able to verify this bug and it's likely that the issue is from tokenization process of incrementing start index until TLDR token is found:

bug

Since TLDR is not in the string, it's just going to increment the index until it's greater than the total string length:

bug12

I'll create a PR but I think adding a constraint to the while statement would fix this issue.

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