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

Checking the condition of a string to be empty causes MF to generate a segmentation fault. #4

Closed
supercom32 opened this issue Jan 1, 2018 · 2 comments

Comments

@supercom32
Copy link
Collaborator

supercom32 commented Jan 1, 2018

Issue found using the latest version of Dragon Basic under Linux (Commit ID: d2ce042)

Checking the condition of a string to be empty (Ie. "") causes MF to generate a segmentation fault. This is sometimes useful when you want to mark a String as NULL, empty, or uninitialised and you check it by seeing if it's empty or not. Since MF crashes when doing so, the users only recourse is to set a string to some unique identifier that means the same thing (Ie. "-1", "NULL", etc) and hope they never need a real string of that value.

@uli
Copy link
Owner

uli commented Sep 16, 2023

This should be fixed by the same commit that fixed issue #5.

@uli
Copy link
Owner

uli commented Sep 16, 2023

closing

@uli uli closed this as completed Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants