https://bugs.winehq.org/show_bug.cgi?id=38455
Bug ID: 38455 Summary: valgrind shows an invalid read in dlls/wshom.ocx/tests/wshom.c Product: Wine Version: 1.7.41 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: wshom.ocx Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
==17941== Invalid read of size 4 ==17941== at 0x402C9D2: memcpy (vg_replace_strmem.c:933) ==17941== by 0x48849C8: SysAllocStringLen (oleaut.c:329) ==17941== by 0x53D60E3: WshShell3_RegRead (shell.c:1379) ==17941== by 0x41FFE0A: IWshShell3_RegRead (wshom.h:4212) ==17941== by 0x41FFE0A: test_registry (???:0) ==17941== by 0x4201447: func_wshom (wshom.c:540) ==17941== by 0x4202188: run_test (test.h:584) ==17941== by 0x42025C1: main (test.h:666) ==17941== Address 0x7f0118ec is 12 bytes inside a recently re-allocated block of size 14 alloc'd ==17941== at 0x7BC49E0E: notify_alloc (heap.c:254) ==17941== by 0x7BC4E044: RtlAllocateHeap (heap.c:1715) ==17941== by 0x53D6032: WshShell3_RegRead (shell.c:1362) ==17941== by 0x41FFE0A: IWshShell3_RegRead (wshom.h:4212) ==17941== by 0x41FFE0A: test_registry (???:0) ==17941== by 0x4201447: func_wshom (wshom.c:540) ==17941== by 0x4202188: run_test (test.h:584) ==17941== by 0x42025C1: main (test.h:666) ==17941==