-
Notifications
You must be signed in to change notification settings - Fork 257
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
core dump on optional arg #10
Labels
bug
Something isn't working
Comments
p-ranav
added
bug
Something isn't working
and removed
bug
Something isn't working
labels
May 3, 2019
Can you provide a code snippet so I can reproduce the core dump? Please explain what you mean by "but don't define how to handle it" |
This is the code that I am using. If I pass "-o" and nothing else, I get a core dump
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if I add an optional arg with a single "-" something like "-o" but don't define how to handle it, I get a seg fault. If I handle it, it's fine. The issue is if the user ads a single - argument that is not supported it will cause a seg fault and there is nothing I can do on my end
The text was updated successfully, but these errors were encountered: