[Bug 36130] New: valgrind shows some invalid reads in ole32/tests/hglobalstream.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 27 19:16:12 CDT 2014


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

            Bug ID: 36130
           Summary: valgrind shows some invalid reads in
                    ole32/tests/hglobalstream.c
           Product: Wine
           Version: 1.7.17
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: ole32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

../../../tools/runtest -q -P wine -T ../../.. -M ole32.dll -p ole32_test.exe.so
hglobalstream && touch hglobalstream.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==26781== Invalid read of size 2
==26781==    at 0x7B841AFA: GlobalLock (heap.c:440)
==26781==    by 0x534D47B: HGLOBALStreamImpl_Read (hglobalstream.c:170)
==26781==    by 0x4D5792D: func_hglobalstream (objidl.h:4381)
==26781==    by 0x4D466F7: main (test.h:584)
==26781==  Address 0x4809c00 is 16 bytes after a block of size 32 free'd
==26781==    at 0x7BC4CD2C: RtlFreeHeap (heap.c:1766)
==26781==    by 0x534D662: HGLOBALStreamImpl_Release (hglobalstream.c:124)
==26781==    by 0x4D57740: func_hglobalstream (objidl.h:4377)
==26781==    by 0x4D466F7: main (test.h:584)
==26781== 

==26781== Invalid read of size 4
==26781==    at 0x7B84229F: GlobalReAlloc (heap.c:672)
==26781==    by 0x534D244: HGLOBALStreamImpl_SetSize (hglobalstream.c:381)
==26781==    by 0x4D579C1: func_hglobalstream (objidl.h:4391)
==26781==    by 0x4D466F7: main (test.h:584)
==26781==  Address 0x4809c02 is 18 bytes after a block of size 32 free'd
==26781==    at 0x7BC4CD2C: RtlFreeHeap (heap.c:1766)
==26781==    by 0x534D662: HGLOBALStreamImpl_Release (hglobalstream.c:124)
==26781==    by 0x4D57740: func_hglobalstream (objidl.h:4377)
==26781==    by 0x4D466F7: main (test.h:584)
==26781== 

==26781== Invalid read of size 4
==26781==    at 0x7B84229F: GlobalReAlloc (heap.c:672)
==26781==    by 0x534D244: HGLOBALStreamImpl_SetSize (hglobalstream.c:381)
==26781==    by 0x534D366: HGLOBALStreamImpl_Write (objidl.h:4391)
==26781==    by 0x4D57A07: func_hglobalstream (objidl.h:4384)
==26781==    by 0x4D466F7: main (test.h:584)
==26781==  Address 0x4809c02 is 18 bytes after a block of size 32 free'd
==26781==    at 0x7BC4CD2C: RtlFreeHeap (heap.c:1766)
==26781==    by 0x534D662: HGLOBALStreamImpl_Release (hglobalstream.c:124)
==26781==    by 0x4D57740: func_hglobalstream (objidl.h:4377)
==26781==    by 0x4D466F7: main (test.h:584)
==26781== 

err:storage:HGLOBALStreamImpl_Write IStream_SetSize failed with error
0x8007000e

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