[Bug 38671] New: valgrind shows an uninitialized write in dlls/advapi32/tests/security.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 2 22:59:07 CDT 2015


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

            Bug ID: 38671
           Summary: valgrind shows an uninitialized write in
                    dlls/advapi32/tests/security.c
           Product: Wine
           Version: 1.7.44
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: minor
          Priority: P2
         Component: advapi32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

==11415== Syscall param writev(vector[...]) points to uninitialised byte(s)
==11415==    at 0x4F7A0F4B: ??? (in /usr/lib/libc-2.21.so)
==11415==    by 0x7BC7A9C5: send_request (server.c:228)
==11415==    by 0x7BC7AB52: wine_server_call (server.c:309)
==11415==    by 0x7BC43375: FILE_CreateFile (file.c:229)
==11415==    by 0x7BC4357B: NtCreateFile (file.c:323)
==11415==    by 0x7B85C7A1: CreateDirectoryW (path.c:1565)
==11415==    by 0x7B85C84D: CreateDirectoryA (path.c:1589)
==11415==    by 0x47D0DB7: test_CreateDirectoryA (security.c:3252)
==11415==    by 0x47DE307: func_security (security.c:5863)
==11415==    by 0x47EC923: run_test (test.h:584)
==11415==    by 0x47ECD6B: main (test.h:666)
==11415==  Address 0x46a18e0 is 88 bytes inside a block of size 120 alloc'd
==11415==    at 0x7BC4A9F1: notify_alloc (heap.c:254)
==11415==    by 0x7BC4EC94: RtlAllocateHeap (heap.c:1715)
==11415==    by 0x7BC83236: NTDLL_create_struct_sd (sync.c:116)
==11415==    by 0x7BC4327E: FILE_CreateFile (file.c:211)
==11415==    by 0x7BC4357B: NtCreateFile (file.c:323)
==11415==    by 0x7B85C7A1: CreateDirectoryW (path.c:1565)
==11415==    by 0x7B85C84D: CreateDirectoryA (path.c:1589)
==11415==    by 0x47D0DB7: test_CreateDirectoryA (security.c:3252)
==11415==    by 0x47DE307: func_security (security.c:5863)
==11415==    by 0x47EC923: run_test (test.h:584)
==11415==    by 0x47ECD6B: main (test.h:666)
==11415==  Uninitialised value was created by a client request
==11415==    at 0x7BC4A7FD: mark_block_uninitialized (heap.c:208)
==11415==    by 0x7BC4A952: initialize_block (heap.c:239)
==11415==    by 0x7BC4ECB4: RtlAllocateHeap (heap.c:1716)
==11415==    by 0x47D0C3D: test_CreateDirectoryA (security.c:3238)
==11415==    by 0x47DE307: func_security (security.c:5863)
==11415==    by 0x47EC923: run_test (test.h:584)
==11415==    by 0x47ECD6B: main (test.h:666)
==11415==

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