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