Re: hhctrl.ocx - null pointer bug

2010-06-19 Thread Jaroslav Šmíd
Crash happens in 7-zip when opening context help from help menu On Sat, Jun 19, 2010 at 7:05 AM, Dmitry Timoshkov wrote: > Jaroslav Šmíd wrote: > >> Patch http://www.winehq.org/pipermail/wine-patches/2010-June/089135.html >> sent by Dmitry Timoshkov contains bug resulting in wine crash due to >>

Re: hhctrl.ocx - null pointer bug

2010-06-18 Thread Dmitry Timoshkov
Jaroslav Šmíd wrote: > Patch http://www.winehq.org/pipermail/wine-patches/2010-June/089135.html > sent by Dmitry Timoshkov contains bug resulting in wine crash due to > possible null pointer dereference. Please, see bug report at > http://bugs.winehq.org/show_bug.cgi?id=23247 for more information

Re: hhctrl.ocx - null pointer bug

2010-06-18 Thread Jaroslav Šmíd
Perhaps. I don't mind as long as it doesn't crash :-) -- Jaroslav Šmíd

Re: hhctrl.ocx - null pointer bug

2010-06-18 Thread Juan Lang
Hi Jaroslav, -if (!*caption) caption = info->pCHMInfo->defTitle; +if (!caption) caption = info->pCHMInfo->defTitle; I suspect a better fix would be: +if (!caption || !*caption) caption = info->pCHMInfo->defTitle; That is, either a NULL caption or an empty one results in info->pCHMInf