Skip to content

Fix segmentation fault on unknown argument (#936) - #937

Open
cyrilcros wants to merge 1 commit into
chhylp123:masterfrom
cyrilcros:fix_crash_on_unknown_args
Open

Fix segmentation fault on unknown argument (#936)#937
cyrilcros wants to merge 1 commit into
chhylp123:masterfrom
cyrilcros:fix_crash_on_unknown_args

Conversation

@cyrilcros

Copy link
Copy Markdown

Fixes #936
When parsing a non existing argument, there is a couple of typos in CommandLines.cpp that incorrectly report the command line is valid. It is a simple switch of 0 vs 1.
I built and tested locally.

When parsing a non existing argument, there is a couple of typos
in CommandLines.cpp that incorrectly report the command line is
valid. It is a simple switch of 0 vs 1.
I built and tested locally.
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

Successfully merging this pull request may close these issues.

Hifiasm segfaults on any unknown argument due to a simple bug

1 participant