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@winehq.org Reporter: austinenglish@gmail.com CC: madewokherd@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==
https://bugs.winehq.org/show_bug.cgi?id=36768
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|madewokherd@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=36768
--- Comment #1 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/patches/data/105192
https://bugs.winehq.org/show_bug.cgi?id=36768
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |13a8d80f3044854fc406e7e463f | |e0f204f92e0cc Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #1)
https://source.winehq.org/git/wine.git/commitdiff/13a8d80f3044854fc406e7e463...
https://bugs.winehq.org/show_bug.cgi?id=36768
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.21.