[Bug 36281] New: valgrind shows an invalid read in gdi32/tests/path.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 4 00:16:55 CDT 2014


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

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

/../../tools/runtest -q -P wine -T ../../.. -M gdi32.dll -p gdi32_test.exe.so
path && touch path.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==28057== Invalid read of size 4
==28057==    at 0x514DE49: CreatePolyPolygonRgn (region.c:2672)
==28057==    by 0x5141376: PATH_PathToRegion (path.c:412)
==28057==    by 0x5141AF7: PATH_FillPath (path.c:677)
==28057==    by 0x51484EF: nulldrv_FillPath (path.c:2149)
==28057==    by 0x5141DB7: FillPath (path.c:746)
==28057==    by 0x49D4380: test_path_state (path.c:230)
==28057==    by 0x49D6160: func_path (path.c:740)
==28057==    by 0x49DBCE0: run_test (test.h:584)
==28057==    by 0x49DC0CF: main (test.h:654)
==28057==  Address 0x4712ac8 is 16 bytes after a block of size 16 alloc'd
==28057==    at 0x7BC4C735: notify_alloc (heap.c:255)
==28057==    by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==28057==    by 0x5140945: alloc_gdi_path (path.c:122)
==28057==    by 0x5141122: PATH_FlattenPath (path.c:339)
==28057==    by 0x5141240: PATH_PathToRegion (path.c:377)
==28057==    by 0x5141AF7: PATH_FillPath (path.c:677)
==28057==    by 0x51484EF: nulldrv_FillPath (path.c:2149)
==28057==    by 0x5141DB7: FillPath (path.c:746)
==28057==    by 0x49D4380: test_path_state (path.c:230)
==28057==    by 0x49D6160: func_path (path.c:740)
==28057==    by 0x49DBCE0: run_test (test.h:584)
==28057==    by 0x49DC0CF: main (test.h:654)
==28057==

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