Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 mkwad crashes when "wildcard" parameter is missing

open
nobody
None
1
2004-08-12
2004-08-12
David Costanzo
No

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 --help
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"

What Happens:
mkwad segmentation faults

What Should Happen:
mkwad displays the usage message.

Discussion

  • Toddd
    Toddd
    2004-08-12

    Logged In: YES
    user_id=672646

    I had the same problems but did not think about filing a
    bug. This site has so much to offer and I don't really use
    it :-)