https://bugs.winehq.org/show_bug.cgi?id=36301
Bug ID: 36301 Summary: valgrind shows an invalid read (bstr) in msxml3/tests/saxreader.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==5655== Invalid read of size 1 ==5655== at 0x40097E3: strlen (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5655== by 0x7B850994: MultiByteToWideChar (locale.c:1991) ==5655== by 0x4C75BC3: alloc_str_from_narrow (saxreader.c:80) ==5655== by 0x4C75C7C: _bstr_ (saxreader.c:92) ==5655== by 0x4C80FEE: test_mxwriter_flush (saxreader.c:3302) ==5655== by 0x4C92479: func_saxreader (saxreader.c:5612) ==5655== by 0x4CA896C: run_test (test.h:584) ==5655== by 0x4CA8D5B: main (test.h:654) ==5655== Address 0x7c71870 is 0 bytes after a recently re-allocated block of size 2,048 alloc'd ==5655== at 0x7BC4C735: notify_alloc (heap.c:255) ==5655== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==5655== by 0x4C80FC3: test_mxwriter_flush (saxreader.c:3300) ==5655== by 0x4C92479: func_saxreader (saxreader.c:5612) ==5655== by 0x4CA896C: run_test (test.h:584) ==5655== by 0x4CA8D5B: main (test.h:654) ==5655==
(separate from bug 36300)