http://bugs.winehq.org/show_bug.cgi?id=33001
Bug #: 33001 Summary: TREEVIEW_GetItemT crashes when getting item from different tree Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: plr.vincent@gmail.com Classification: Unclassified
Created attachment 43599 --> http://bugs.winehq.org/attachment.cgi?id=43599 Crash log
Triggered using AXE3 (hex editor): http://advanced-hex-editor-a-x-e.en.softonic.com/ Crashes on program start, after "evaluation period expired" warning and before displaying the main window. Does not happen systematically, but with a high probability (~8 out of 10 runs). See attachment for error details.
This is a regression. Looking at the short change history of dlls/comctl32/treeview.c I identified the commit introducing the regression as 95a15a3482ba47c1b84fd77a63f95d5cd784a97a , and re-introducing a "return FALSE" in the "if (!TREEVIEW_ValidItem(infoPtr, item))" code branch indeed cures the crash.