[Bug 36573] New: valgrind shows uninitialized memory use in shlwapi/tests/path.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 29 14:48:21 CDT 2014


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

            Bug ID: 36573
           Summary: valgrind shows uninitialized memory use in
                    shlwapi/tests/path.c
           Product: Wine
           Version: 1.7.19
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: shlwapi
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

==16152== Invalid read of size 2
==16152==    at 0x4E4A69F: PathCreateFromUrlW (path.c:3380)
==16152==    by 0x4E4A224: PathCreateFromUrlA (path.c:3265)
==16152==    by 0x4CB9F05: test_PathCreateFromUrl (path.c:281)
==16152==    by 0x4CC3BA6: func_path (path.c:1609)
==16152==    by 0x4CD34BC: run_test (test.h:584)
==16152==    by 0x4CD38AB: main (test.h:654)
==16152==  Address 0x4a0f3f0 is 0 bytes after a block of size 40 alloc'd
==16152==    at 0x7BC4C6DF: notify_alloc (heap.c:255)
==16152==    by 0x7BC50F23: RtlAllocateHeap (heap.c:1716)
==16152==    by 0x7BC76380: RtlAnsiStringToUnicodeString (rtlstr.c:689)
==16152==    by 0x7BC75997: RtlCreateUnicodeStringFromAsciiz (rtlstr.c:302)
==16152==    by 0x4E4A1ED: PathCreateFromUrlA (path.c:3263)
==16152==    by 0x4CB9F05: test_PathCreateFromUrl (path.c:281)
==16152==    by 0x4CC3BA6: func_path (path.c:1609)
==16152==    by 0x4CD34BC: run_test (test.h:584)
==16152==    by 0x4CD38AB: main (test.h:654)
==16152== 

==16152== Use of uninitialised value of size 4
==16152==    at 0x4E43154: get_char_typeW (unicode.h:137)
==16152==    by 0x4E431CA: isalphaW (unicode.h:182)
==16152==    by 0x4E4A6AC: PathCreateFromUrlW (path.c:3380)
==16152==    by 0x4CBA26C: test_PathCreateFromUrl (path.c:299)
==16152==    by 0x4CC3BA6: func_path (path.c:1609)
==16152==    by 0x4CD34BC: run_test (test.h:584)
==16152==    by 0x4CD38AB: main (test.h:654)
==16152==  Uninitialised value was created by a client request
==16152==    at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209)
==16152==    by 0x7BC4C641: initialize_block (heap.c:240)
==16152==    by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717)
==16152==    by 0x4CB9764: GetWideString (path.c:186)
==16152==    by 0x4CBA23F: test_PathCreateFromUrl (path.c:298)
==16152==    by 0x4CC3BA6: func_path (path.c:1609)
==16152==    by 0x4CD34BC: run_test (test.h:584)
==16152==    by 0x4CD38AB: main (test.h:654)
==16152==

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