https://bugs.winehq.org/show_bug.cgi?id=38447
Bug ID: 38447 Summary: valgrind shows an invalid read in ole32/tests/hglobalstream.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
==13974== Invalid read of size 2 ==13974== at 0x7B843008: GlobalLock (heap.c:441) ==13974== by 0x4A9B5D8: HGLOBALStreamImpl_Read (hglobalstream.c:169) ==13974== by 0x48885CC: IStream_Read (objidl.h:4381) ==13974== by 0x48885CC: test_freed_hglobal (???:0) ==13974== by 0x488885C: func_hglobalstream (hglobalstream.c:522) ==13974== by 0x48D5D00: run_test (test.h:584) ==13974== by 0x48D613A: main (test.h:666) ==13974== Address 0x7f02aaf8 is 16 bytes after a block of size 32 free'd ==13974== at 0x7BC49E5B: notify_free (heap.c:262) ==13974== by 0x7BC4E178: RtlFreeHeap (heap.c:1761) ==13974== by 0x4A9B51A: HGLOBALStreamImpl_Release (hglobalstream.c:123) ==13974== by 0x4888325: IStream_Release (objidl.h:4377) ==13974== by 0x4888325: test_copyto (???:0) ==13974== by 0x4888857: func_hglobalstream (hglobalstream.c:521) ==13974== by 0x48D5D00: run_test (test.h:584) ==13974== by 0x48D613A: main (test.h:666) ==13974==
https://bugs.winehq.org/show_bug.cgi?id=38447
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.18 |1.7.41 Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=38447
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- This might be normal, it's testing a read after hglobal handle was freed.
https://bugs.winehq.org/show_bug.cgi?id=38447
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Nikolay Sivov from comment #1)
This might be normal, it's testing a read after hglobal handle was freed.
Yeah, seems to be line 502: https://source.winehq.org/git/wine.git/blob/019fcaa36410f5b52e9c3fb90a621b56...
https://bugs.winehq.org/show_bug.cgi?id=38447
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Closing wontfix.