https://bugs.winehq.org/show_bug.cgi?id=39275
Bug ID: 39275 Summary: Unhandled exception HtmlHelpA after starting Print Shop Deluxe 15 Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: hhctrl.ocx Assignee: wine-bugs@winehq.org Reporter: martinrs@softhome.net Distribution: ---
After starting Print Shop Deluxe 15, the following error occurs: Unhandled exception: page fault on read access to 0xfffffff0 in 32-bit code .. Backtrace: => 0 0xf7443422 __strlen_sse2_bsf+0x32() in libc.so.6 1 0x7b854663 MultiByteToWideChar+0x172() in kernel32 2 0x7c39a92f HtmlHelpA+0x158e() in hhctrl
I checked the wine source and hhctrl.ocx HtmlHelpA() doesn't behave the same as HtmlHelpW(), where it doesn't take into account that some command can send null filename. It seems to just try to get the string length of null thru the following statement: WCHAR *wfile = strdupAtoW( filename );