[PATCH] hhctrl: add check for command-line arguments
Alexandre Julliard
julliard at winehq.org
Tue Aug 24 10:10:20 CDT 2010
Wolfram Sang <wolfram at the-dreams.de> writes:
> If the commandline is just '\0', hh.exe crashes like:
>
> ~$ wine hh.exe
> fixme:htmlhelp:HtmlHelpW Not all HH cases handled correctly
> wine: Unhandled page fault on read access to 0x0000000c at address 0x7e9e8747 (thread 0009), starting debugger...
>
> Fixes Bug 19070.
You should also handle the case of options without filename, or of empty
filename.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-patches
mailing list