[Bug 46338] New: advapi32/ security test uses an unitialized variable in test_process_security

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 22 00:35:17 CST 2018


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

            Bug ID: 46338
           Summary: advapi32/security test uses an unitialized variable in
                    test_process_security
           Product: Wine
           Version: 4.0-rc3
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: minor
          Priority: P2
         Component: advapi32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

Similar to bug 36094, same source file, different test.

==30817== Syscall param writev(vector[...]) points to uninitialised byte(s)
==30817==    at 0x4356813: writev (writev.c:26)
==30817==    by 0x7BC75457: send_request (server.c:228)
==30817==    by 0x7BC76158: server_call_unlocked (server.c:288)
==30817==    by 0x7BC761AD: wine_server_call (server.c:321)
==30817==    by 0x7B4613A4: create_process (process.c:2363)
==30817==    by 0x7B461BA0: CreateProcessInternalW (process.c:2764)
==30817==    by 0x7B462218: CreateProcessInternalA (process.c:2836)
==30817==    by 0x7B462315: CreateProcessA (process.c:2856)
==30817==    by 0x4AB4149: test_process_security (security.c:3032)
==30817==    by 0x4ABF458: func_security (security.c:7422)
==30817==    by 0x4ACAC1E: run_test (test.h:617)
==30817==    by 0x4ACB65C: main (test.h:701)
==30817==  Address 0x495c2b4 is 124 bytes inside a block of size 324 alloc'd
==30817==    at 0x7BC483AD: notify_alloc (heap.c:260)
==30817==    by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726)
==30817==    by 0x7B443394: HeapAlloc (heap.c:271)
==30817==    by 0x7B45F425: alloc_object_attributes (process.c:2202)
==30817==    by 0x7B461304: create_process (process.c:2350)
==30817==    by 0x7B461BA0: CreateProcessInternalW (process.c:2764)
==30817==    by 0x7B462218: CreateProcessInternalA (process.c:2836)
==30817==    by 0x7B462315: CreateProcessA (process.c:2856)
==30817==    by 0x4AB4149: test_process_security (security.c:3032)
==30817==    by 0x4ABF458: func_security (security.c:7422)
==30817==    by 0x4ACAC1E: run_test (test.h:617)
==30817==    by 0x4ACB65C: main (test.h:701)
==30817==  Uninitialised value was created by a client request
==30817==    at 0x7BC4831C: mark_block_uninitialized (heap.c:214)
==30817==    by 0x7BC4A643: initialize_block (heap.c:245)
==30817==    by 0x7BC4B8E7: RtlAllocateHeap (heap.c:1727)
==30817==    by 0x4AB33F1: test_process_security (security.c:2893)
==30817==    by 0x4ABF458: func_security (security.c:7422)
==30817==    by 0x4ACAC1E: run_test (test.h:617)
==30817==    by 0x4ACB65C: main (test.h:701)
==30817==

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