[Bug 23247] hhctrl.ocx - crash when showing HTML help

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 22 05:29:09 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23247





--- Comment #9 from Jardík <a213391 at bofthew.com>  2010-06-22 05:29:09 ---
Problem is really maybe there (chm.c:LoadWinTypeFromCHM). IStorage_OpenStream
actually fails and info->pCHMInfo->defTitle is NULL in that block, so you do
strdupW(NULL) which returns NULL.

hr = IStorage_OpenStream(pStorage, windowsW, NULL, STGM_READ, 0, &pStream);
if (FAILED(hr))
{
    ...
    info->WinType.pszCaption=strdupW(info->pCHMInfo->defTitle);
    ...
    return TRUE;
}

And please ignore my previous comment, perhaps there are stored indexes until
they are replaced (?)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list