https://bugs.winehq.org/show_bug.cgi?id=36135
Bug ID: 36135 Summary: valgrind shows some errors in ole32/tests/ole2.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@winehq.org Reporter: austinenglish@gmail.com
==29824== Conditional jump or move depends on uninitialised value(s) ==29824== at 0x5A3F653: order_rect (gdi_private.h:443) ==29824== by 0x5A4539D: ExtTextOutW (font.c:2258) ==29824== by 0x5A44DBB: ExtTextOutA (font.c:2113) ==29824== by 0x5A6BABF: MF_Play_MetaExtTextOut (metafile.c:1437) ==29824== by 0x5A69A00: PlayMetaFileRecord (metafile.c:853) ==29824== by 0x5A68002: PlayMetaFile (metafile.c:429) ==29824== by 0x52D107C: DataCache_Draw (datacache.c:1594) ==29824== by 0x4995F58: test_data_cache (oleidl.h:3818) ==29824== by 0x499BF61: func_ole2 (ole2.c:2387) ==29824== by 0x49BE544: run_test (test.h:584) ==29824== by 0x49BE933: main (test.h:654) ==29824== Uninitialised value was created by a stack allocation ==29824== at 0x5A6B84B: MF_Play_MetaExtTextOut (metafile.c:1397) ==29824==
==29824== Conditional jump or move depends on uninitialised value(s) ==29824== at 0x5A3F67F: order_rect (gdi_private.h:449) ==29824== by 0x5A4539D: ExtTextOutW (font.c:2258) ==29824== by 0x5A44DBB: ExtTextOutA (font.c:2113) ==29824== by 0x5A6BABF: MF_Play_MetaExtTextOut (metafile.c:1437) ==29824== by 0x5A69A00: PlayMetaFileRecord (metafile.c:853) ==29824== by 0x5A68002: PlayMetaFile (metafile.c:429) ==29824== by 0x52D107C: DataCache_Draw (datacache.c:1594) ==29824== by 0x4995F58: test_data_cache (oleidl.h:3818) ==29824== by 0x499BF61: func_ole2 (ole2.c:2387) ==29824== by 0x49BE544: run_test (test.h:584) ==29824== by 0x49BE933: main (test.h:654) ==29824== Uninitialised value was created by a stack allocation ==29824== at 0x5A6B84B: MF_Play_MetaExtTextOut (metafile.c:1397) ==29824==
Also a possible leak: ==29824== 8 bytes in 1 blocks are possibly lost in loss record 47 of 708 ==29824== at 0x7BC4C735: notify_alloc (heap.c:255) ==29824== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==29824== by 0x7B84586B: HeapAlloc (heap.c:271) ==29824== by 0x7B845B40: GlobalAlloc (heap.c:376) ==29824== by 0x4994A77: DataObject_DAdvise (ole2.c:1281) ==29824== by 0x52D1933: setup_sink (objidl.h:7541) ==29824== by 0x52D21E9: DataCache_OnRun (datacache.c:2085) ==29824== by 0x49978AA: test_data_cache (oleidl.h:2656) ==29824== by 0x499BF61: func_ole2 (ole2.c:2387) ==29824== by 0x49BE544: run_test (test.h:584) ==29824== by 0x49BE933: main (test.h:654) ==29824==