[Bug 36329] New: valgrind shows an invalid read in sccrun/tests/filesystem.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 4 06:36:59 CDT 2014


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

            Bug ID: 36329
           Summary: valgrind shows an invalid read in
                    sccrun/tests/filesystem.c
           Product: Wine
           Version: 1.7.18
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

==580== Invalid read of size 4
==580==    at 0x5FB6299: get_versionstring (filesystem.c:3628)
==580==    by 0x5FB64B2: filesys_GetFileVersion (filesystem.c:3664)
==580==    by 0x494782D: test_GetFileVersion (scrrun.h:3945)
==580==    by 0x495129F: func_filesystem (filesystem.c:1737)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580==  Address 0x4716038 is 48 bytes inside a block of size 1,732 free'd
==580==    at 0x7BC4C782: notify_free (heap.c:263)
==580==    by 0x7BC510C7: RtlFreeHeap (heap.c:1762)
==580==    by 0x5FAA46C: heap_free (scrrun_private.h:48)
==580==    by 0x5FB6481: filesys_GetFileVersion (filesystem.c:3660)
==580==    by 0x494782D: test_GetFileVersion (scrrun.h:3945)
==580==    by 0x495129F: func_filesystem (filesystem.c:1737)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580== 


==580== Invalid read of size 2
==580==    at 0x5FB2FD8: create_file (filesystem.c:2724)
==580==    by 0x5FB4894: filesys_GetFile (filesystem.c:3170)
==580==    by 0x4948BA0: test_GetFile (scrrun.h:3905)
==580==    by 0x49512B8: func_filesystem (filesystem.c:1742)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580==  Address 0x472f536 is 86 bytes inside a block of size 148 free'd
==580==    at 0x7BC4C782: notify_free (heap.c:263)
==580==    by 0x7BC510C7: RtlFreeHeap (heap.c:1762)
==580==    by 0x7BC759C8: RtlFreeUnicodeString (rtlstr.c:319)
==580==    by 0x7B842077: GetFileAttributesW (file.c:2293)
==580==    by 0x4948B21: test_GetFile (filesystem.c:546)
==580==    by 0x49512B8: func_filesystem (filesystem.c:1742)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580== 

=580== Invalid write of size 2
==580==    at 0x5FB300A: create_file (filesystem.c:2725)
==580==    by 0x5FB4894: filesys_GetFile (filesystem.c:3170)
==580==    by 0x4948BA0: test_GetFile (scrrun.h:3905)
==580==    by 0x49512B8: func_filesystem (filesystem.c:1742)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580==  Address 0x472f536 is 86 bytes inside a block of size 148 free'd
==580==    at 0x7BC4C782: notify_free (heap.c:263)
==580==    by 0x7BC510C7: RtlFreeHeap (heap.c:1762)
==580==    by 0x7BC759C8: RtlFreeUnicodeString (rtlstr.c:319)
==580==    by 0x7B842077: GetFileAttributesW (file.c:2293)
==580==    by 0x4948B21: test_GetFile (filesystem.c:546)
==580==    by 0x49512B8: func_filesystem (filesystem.c:1742)
==580==    by 0x4952104: run_test (test.h:584)
==580==    by 0x49524F3: main (test.h:654)
==580==

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