Open Quartz's WAD management tool crashes when given a
bad set of command-line parameters. Instead, it should
display a help message.
Specifically, mkwad crashes when run in "r" mode (list
contents) without being given a wildcard match target.
On a side note, I think mkwad should display the help
message whenever it is given command-line parameters
that it doesn't recognize. For example, none of the
following are legal, but none cause mkwad to display
the usage message.
mkwad read mywad '*'
mkwad mywad extract
Steps to Reproduce Crash:
1) Go to the directory where utils and pak0 are checked out
2) Run "utils/bin/mkwad r pak0/maps/textures/free_wad.wad"
mkwad segmentation faults
What Should Happen:
mkwad displays the usage message.
Log in to post a comment.