[Bug 43308] New: valgrind shows an uninitialized write in dlls/advapi32/ tests/security.c (test_AddMandatoryAce)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 10 18:18:28 CDT 2017


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

            Bug ID: 43308
           Summary: valgrind shows an uninitialized write in
                    dlls/advapi32/tests/security.c (test_AddMandatoryAce)
           Product: Wine
           Version: 2.12
          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: ---

May be related to bug 38671

==25950== Syscall param writev(vector[...]) points to uninitialised byte(s)
==25950==    at 0x433904F: ??? (syscall-template.S:84)
==25950==    by 0x7BC88028: send_request (server.c:228)
==25950==    by 0x7BC881DB: wine_server_call (server.c:309)
==25950==    by 0x7BC93843: NtCreateEvent (sync.c:305)
==25950==    by 0x7B47EBD0: CreateEventExW (sync.c:492)
==25950==    by 0x7B47EA3E: CreateEventExA (sync.c:455)
==25950==    by 0x7B47E8F5: CreateEventA (sync.c:423)
==25950==    by 0x4A6460B: test_AddMandatoryAce (security.c:6245)
==25950==    by 0x4A69DBC: func_security (security.c:7126)
==25950==    by 0x4A7926E: run_test (test.h:603)
==25950==    by 0x4A796C0: main (test.h:687)
==25950==  Address 0x48d7f40 is 64 bytes inside a recently re-allocated block
of size 312 alloc'd
==25950==    at 0x7BC50812: notify_alloc (heap.c:254)
==25950==    by 0x7BC54C93: RtlAllocateHeap (heap.c:1716)
==25950==    by 0x7BC92E90: alloc_object_attributes (sync.c:117)
==25950==    by 0x7BC9378B: NtCreateEvent (sync.c:297)
==25950==    by 0x7B47EBD0: CreateEventExW (sync.c:492)
==25950==    by 0x7B47EA3E: CreateEventExA (sync.c:455)
==25950==    by 0x7B47E8F5: CreateEventA (sync.c:423)
==25950==    by 0x4A6460B: test_AddMandatoryAce (security.c:6245)
==25950==    by 0x4A69DBC: func_security (security.c:7126)
==25950==    by 0x4A7926E: run_test (test.h:603)
==25950==    by 0x4A796C0: main (test.h:687)
==25950==  Uninitialised value was created by a stack allocation
==25950==    at 0x4A63EF0: test_AddMandatoryAce (security.c:6164)
==25950==

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