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

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 9 04:23:24 CDT 2015


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

            Bug ID: 38727
           Summary: valgrind shows several invalid reads in
                    shell32/tests/shelldispatch.c
           Product: Wine
           Version: 1.7.44
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: shell32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Debian

../../../tools/runtest -q -P wine -T ../../.. -M shell32.dll -p
shell32_test.exe.so shelldispatch && touch shelldispatch.ok
==3421== Invalid read of size 2
==3421==    at 0x49934E6: ILFindLastID (pidl.c:201)
==3421==    by 0x4998225: _ILGetExtension (pidl.c:2369)
==3421==    by 0x49C3BA0: SHELL32_CreateExtensionUIObject (shfldr_fs.c:566)
==3421==    by 0x49CEDA4: ShellFolder2_GetUIObjectOf (shfldr_unixfs.c:1182)
==3421==    by 0x49A02E0: IShellFolder_GetUIObjectOf (shobjidl.h:1417)
==3421==    by 0x49A02E0: FolderItemVerbs_Constructor (???:0)
==3421==    by 0x49A13BC: FolderItemImpl_Verbs (shelldispatch.c:860)
==3421==    by 0x47B3840: FolderItem_Verbs (shldisp.h:2062)
==3421==    by 0x47B3840: test_Verbs (???:0)
==3421==    by 0x47B3D18: func_shelldispatch (shelldispatch.c:846)
==3421==    by 0x47FC676: run_test (test.h:584)
==3421==    by 0x47FCABE: main (test.h:666)
==3421==  Address 0x4668d98 is 16 bytes inside a block of size 22 free'd
==3421==    at 0x7BC4AA49: notify_free (heap.c:262)
==3421==    by 0x7BC4EDC8: RtlFreeHeap (heap.c:1761)
==3421==    by 0x7BC591CA: get_load_order (loadorder.c:489)
==3421==    by 0x7BC5586B: load_dll (loader.c:2073)
==3421==    by 0x7BC51814: import_dll (loader.c:588)
==3421==    by 0x7BC526A1: fixup_imports (loader.c:892)
==3421==    by 0x7BC579A1: LdrInitializeThunk (loader.c:2914)
==3421==    by 0x7B860CB1: __wine_kernel_init (process.c:1276)
==3421==    by 0x7BC581A3: __wine_process_init (loader.c:3131)
==3421==    by 0x401784D: wine_init (loader.c:958)
==3421==    by 0x7BF0114D: main (main.c:247)
==3421== 

==3421== Invalid read of size 2
==3421==    at 0x4997173: _ILIsDesktop (pidl.c:1816)
==3421==    by 0x4992DCE: _ILIsEmpty (pidl.h:220)
==3421==    by 0x4997BBD: _ILGetDataPointer (pidl.c:2066)
==3421==    by 0x499743B: _ILIsValue (pidl.c:1864)
==3421==    by 0x4998236: _ILGetExtension (pidl.c:2371)
==3421==    by 0x49C3BA0: SHELL32_CreateExtensionUIObject (shfldr_fs.c:566)
==3421==    by 0x49CEDA4: ShellFolder2_GetUIObjectOf (shfldr_unixfs.c:1182)
==3421==    by 0x49A02E0: IShellFolder_GetUIObjectOf (shobjidl.h:1417)
==3421==    by 0x49A02E0: FolderItemVerbs_Constructor (???:0)
==3421==    by 0x49A13BC: FolderItemImpl_Verbs (shelldispatch.c:860)
==3421==    by 0x47B3840: FolderItem_Verbs (shldisp.h:2062)
==3421==    by 0x47B3840: test_Verbs (???:0)
==3421==    by 0x47B3D18: func_shelldispatch (shelldispatch.c:846)
==3421==    by 0x47FC676: run_test (test.h:584)
==3421==    by 0x47FCABE: main (test.h:666)
==3421==  Address 0x4668d98 is 16 bytes inside a block of size 22 free'd
==3421==    at 0x7BC4AA49: notify_free (heap.c:262)
==3421==    by 0x7BC4EDC8: RtlFreeHeap (heap.c:1761)
==3421==    by 0x7BC591CA: get_load_order (loadorder.c:489)
==3421==    by 0x7BC5586B: load_dll (loader.c:2073)
==3421==    by 0x7BC51814: import_dll (loader.c:588)
==3421==    by 0x7BC526A1: fixup_imports (loader.c:892)
==3421==    by 0x7BC579A1: LdrInitializeThunk (loader.c:2914)
==3421==    by 0x7B860CB1: __wine_kernel_init (process.c:1276)
==3421==    by 0x7BC581A3: __wine_process_init (loader.c:3131)
==3421==    by 0x401784D: wine_init (loader.c:958)
==3421==    by 0x7BF0114D: main (main.c:247)
==3421== 


==3421== Invalid read of size 1
==3421==    at 0x4997496: _ILIsValue (pidl.c:1868)
==3421==    by 0x4998236: _ILGetExtension (pidl.c:2371)
==3421==    by 0x49C3BA0: SHELL32_CreateExtensionUIObject (shfldr_fs.c:566)
==3421==    by 0x49CEDA4: ShellFolder2_GetUIObjectOf (shfldr_unixfs.c:1182)
==3421==    by 0x49A02E0: IShellFolder_GetUIObjectOf (shobjidl.h:1417)
==3421==    by 0x49A02E0: FolderItemVerbs_Constructor (???:0)
==3421==    by 0x49A13BC: FolderItemImpl_Verbs (shelldispatch.c:860)
==3421==    by 0x47B3840: FolderItem_Verbs (shldisp.h:2062)
==3421==    by 0x47B3840: test_Verbs (???:0)
==3421==    by 0x47B3D18: func_shelldispatch (shelldispatch.c:846)
==3421==    by 0x47FC676: run_test (test.h:584)
==3421==    by 0x47FCABE: main (test.h:666)
==3421==  Address 0x4668d9a is 18 bytes inside a block of size 22 free'd
==3421==    at 0x7BC4AA49: notify_free (heap.c:262)
==3421==    by 0x7BC4EDC8: RtlFreeHeap (heap.c:1761)
==3421==    by 0x7BC591CA: get_load_order (loadorder.c:489)
==3421==    by 0x7BC5586B: load_dll (loader.c:2073)
==3421==    by 0x7BC51814: import_dll (loader.c:588)
==3421==    by 0x7BC526A1: fixup_imports (loader.c:892)
==3421==    by 0x7BC579A1: LdrInitializeThunk (loader.c:2914)
==3421==    by 0x7B860CB1: __wine_kernel_init (process.c:1276)
==3421==    by 0x7BC581A3: __wine_process_init (loader.c:3131)
==3421==    by 0x401784D: wine_init (loader.c:958)
==3421==    by 0x7BF0114D: main (main.c:247)
==3421== 

==3421== Invalid read of size 2
==3421==    at 0x4994890: ILGetSize (pidl.c:790)
==3421==    by 0x49935D4: ILClone (pidl.c:239)
==3421==    by 0x49985BA: _ILCopyaPidl (pidl.c:2511)
==3421==    by 0x49EF174: ItemMenu_Constructor (shlview_cmenu.c:630)
==3421==    by 0x49CEDF0: ShellFolder2_GetUIObjectOf (shfldr_unixfs.c:1188)
==3421==    by 0x49A02E0: IShellFolder_GetUIObjectOf (shobjidl.h:1417)
==3421==    by 0x49A02E0: FolderItemVerbs_Constructor (???:0)
==3421==    by 0x49A13BC: FolderItemImpl_Verbs (shelldispatch.c:860)
==3421==    by 0x47B3840: FolderItem_Verbs (shldisp.h:2062)
==3421==    by 0x47B3840: test_Verbs (???:0)
==3421==    by 0x47B3D18: func_shelldispatch (shelldispatch.c:846)
==3421==    by 0x47FC676: run_test (test.h:584)
==3421==    by 0x47FCABE: main (test.h:666)
==3421==  Address 0x4668d98 is 16 bytes inside a block of size 22 free'd
==3421==    at 0x7BC4AA49: notify_free (heap.c:262)
==3421==    by 0x7BC4EDC8: RtlFreeHeap (heap.c:1761)
==3421==    by 0x7BC591CA: get_load_order (loadorder.c:489)
==3421==    by 0x7BC5586B: load_dll (loader.c:2073)
==3421==    by 0x7BC51814: import_dll (loader.c:588)
==3421==    by 0x7BC526A1: fixup_imports (loader.c:892)
==3421==    by 0x7BC579A1: LdrInitializeThunk (loader.c:2914)
==3421==    by 0x7B860CB1: __wine_kernel_init (process.c:1276)
==3421==    by 0x7BC581A3: __wine_process_init (loader.c:3131)
==3421==    by 0x401784D: wine_init (loader.c:958)
==3421==    by 0x7BF0114D: main (main.c:247)
==3421==

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