[Bug 38727] valgrind shows several invalid reads in shell32/tests/ shelldispatch.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 18 16:37:14 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=38727

--- Comment #1 from Austin English <austinenglish at gmail.com> ---
Another:
==368== Thread 1 shell32_test.exe.so:
==368== Invalid read of size 1
==368==    at 0x4C07B06: _ILIsValue (pidl.c:1880)
==368==    by 0x4C6CC5A: ItemMenu_Constructor (shlview_cmenu.c:637)
==368==    by 0x4C487B3: ShellFolder2_GetUIObjectOf (shfldr_unixfs.c:1191)
==368==    by 0x4C11927: IShellFolder_GetUIObjectOf (shobjidl.h:1617)
==368==    by 0x4C11927: FolderItemVerbs_Constructor (???:0)
==368==    by 0x4C12AC5: FolderItemImpl_Verbs (shelldispatch.c:871)
==368==    by 0x4A33216: FolderItem_Verbs (shldisp.h:1959)
==368==    by 0x4A33216: test_Verbs (???:0)
==368==    by 0x4A33B6E: func_shelldispatch (shelldispatch.c:1084)
==368==    by 0x4A882A0: run_test (test.h:603)
==368==    by 0x4A886FF: main (test.h:687)
==368==  Address 0x48f2c9a is 386 bytes inside a block of size 512 free'd
==368==    at 0x7BC510DB: notify_free (heap.c:262)
==368==    by 0x7BC556AC: RtlFreeHeap (heap.c:1762)
==368==    by 0x5160E88: FindWindowExW (win.c:1982)
==368==    by 0x5161103: FindWindowW (win.c:2036)
==368==    by 0x6114A76: query_desktop_work_area (xinerama.c:94)
==368==    by 0x61151E2: xinerama_init (xinerama.c:216)
==368==    by 0x60D4CE8: X11DRV_init_desktop (desktop.c:123)
==368==    by 0x610785D: X11DRV_CreateDesktopWindow (window.c:1740)
==368==    by 0x50F49C9: loaderdrv_CreateDesktopWindow (driver.c:688)
==368==    by 0x5161676: GetDesktopWindow (win.c:2126)
==368==    by 0x50CE770: RegisterClassExW (class.c:623)
==368==    by 0x50CE349: RegisterClassW (class.c:554)
==368==    by 0x55A0BD7: register_class (compobj.c:1670)
==368==    by 0x7BC986C3: RtlRunOnceExecuteOnce (sync.c:1541)
==368==    by 0x7B4840A6: InitOnceExecuteOnce (sync.c:2363)
==368==    by 0x55A0C47: apartment_createwindowifneeded (compobj.c:1687)
==368==    by 0x559E3B9: apartment_get_or_create (compobj.c:678)
==368==    by 0x55A1382: CoInitializeEx (compobj.c:1911)
==368==    by 0x55A11DB: CoInitialize (compobj.c:1843)
==368==    by 0x4A33B02: func_shelldispatch (shelldispatch.c:1072)
==368==  Block was alloc'd at
==368==    at 0x7BC51061: notify_alloc (heap.c:254)
==368==    by 0x7BC5554F: RtlAllocateHeap (heap.c:1716)
==368==    by 0x515B934: list_window_children (win.c:319)
==368==    by 0x5160D6B: FindWindowExW (win.c:1954)
==368==    by 0x5161103: FindWindowW (win.c:2036)
==368==    by 0x6114A76: query_desktop_work_area (xinerama.c:94)
==368==    by 0x61151E2: xinerama_init (xinerama.c:216)
==368==    by 0x60D4CE8: X11DRV_init_desktop (desktop.c:123)
==368==    by 0x610785D: X11DRV_CreateDesktopWindow (window.c:1740)
==368==    by 0x50F49C9: loaderdrv_CreateDesktopWindow (driver.c:688)
==368==    by 0x5161676: GetDesktopWindow (win.c:2126)
==368==    by 0x50CE770: RegisterClassExW (class.c:623)
==368==    by 0x50CE349: RegisterClassW (class.c:554)
==368==    by 0x55A0BD7: register_class (compobj.c:1670)
==368==    by 0x7BC986C3: RtlRunOnceExecuteOnce (sync.c:1541)
==368==    by 0x7B4840A6: InitOnceExecuteOnce (sync.c:2363)
==368==    by 0x55A0C47: apartment_createwindowifneeded (compobj.c:1687)
==368==    by 0x559E3B9: apartment_get_or_create (compobj.c:678)
==368==    by 0x55A1382: CoInitializeEx (compobj.c:1911)
==368==    by 0x55A11DB: CoInitialize (compobj.c:1843)
==368==

-- 
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