[Bug 36768] New: valgrind shows a couple invalid reads in windowscodecs/tests/tiffformat.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 19 16:57:30 CDT 2014


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

            Bug ID: 36768
           Summary: valgrind shows a couple invalid reads in
                    windowscodecs/tests/tiffformat.c
           Product: Wine
           Version: 1.7.20
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: windowscodecs
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
                CC: madewokherd at gmail.com

preloader: Warning: failed to reserve range 7f000000-82000000
../../../tools/runtest -q -P wine -T ../../.. -M windowscodecs.dll -p
windowscodecs_test.exe.so tiffformat && touch tiffformat.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==3187== Invalid read of size 4
==3187==    at 0x4F8B84E: test_QueryCapability (wincodec.h:3504)
==3187==    by 0x4F8BC96: func_tiffformat (tiffformat.c:281)
==3187==    by 0x4F8CAAD: run_test (test.h:584)
==3187==    by 0x4F8CE9C: main (test.h:654)
==3187==  Address 0x4aac098 is 0 bytes inside a block of size 44 free'd
==3187==    at 0x7BC4C72C: notify_free (heap.c:263)
==3187==    by 0x7BC51071: RtlFreeHeap (heap.c:1762)
==3187==    by 0x510E08A: TiffDecoder_Release (tiffformat.c:560)
==3187==    by 0x4F8B772: test_QueryCapability (wincodec.h:3504)
==3187==    by 0x4F8BC96: func_tiffformat (tiffformat.c:281)
==3187==    by 0x4F8CAAD: run_test (test.h:584)
==3187==    by 0x4F8CE9C: main (test.h:654)
==3187== 

==3187== Invalid read of size 4
==3187==    at 0x510DF96: TiffDecoder_Release (winbase.h:2617)
==3187==    by 0x4F8B85D: test_QueryCapability (wincodec.h:3504)
==3187==    by 0x4F8BC96: func_tiffformat (tiffformat.c:281)
==3187==    by 0x4F8CAAD: run_test (test.h:584)
==3187==    by 0x4F8CE9C: main (test.h:654)
==3187==  Address 0x4aac09c is 4 bytes inside a block of size 44 free'd
==3187==    at 0x7BC4C72C: notify_free (heap.c:263)
==3187==    by 0x7BC51071: RtlFreeHeap (heap.c:1762)
==3187==    by 0x510E08A: TiffDecoder_Release (tiffformat.c:560)
==3187==    by 0x4F8B772: test_QueryCapability (wincodec.h:3504)
==3187==    by 0x4F8BC96: func_tiffformat (tiffformat.c:281)
==3187==    by 0x4F8CAAD: run_test (test.h:584)
==3187==    by 0x4F8CE9C: main (test.h:654)
==3187==

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