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

Segfault if no CLI arguments are passed #5

Open
mborgerson opened this issue Oct 10, 2019 · 2 comments
Open

Segfault if no CLI arguments are passed #5

mborgerson opened this issue Oct 10, 2019 · 2 comments

Comments

@mborgerson
Copy link

If no command line arguments are passed to the application, the application will segfault. The problem lies here:

...in which an out-of-bound access is made to argv[1].

@PatrickvL
Copy link
Member

A solution could be to extend the argc-check a few lines upwards with argc < 1

@RadWolfie
Copy link
Member

RadWolfie commented Oct 10, 2019

I don't have interest to maintenance this repo, feel free to send PR.

https://github.com/RadWolfie/XbSymbolUnitTest is the active development. However, it doesn't have a cache generated. It's still possible to re-add though.

EDIT: I see a valid point, from recent discord discussion, to have this draft concept into a functional design search tool / API showcase.

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

3 participants