Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash due to command line argument parsing
zig --help -> ok zig --help --c-source -> ok zig --c-source --help -> crash [fixed] 'i' was being incremented without regard for the 'argc' limit, so we were running off the end of 'argv'.
- Loading branch information
Showing with 5 additions and 1 deletion.
- +5 −1 src/main.cpp