https://bugs.winehq.org/show_bug.cgi?id=36094
Bug ID: 36094 Summary: advapi32/security test uses an unitialized variable in test_CreateDirectoryA Product: Wine Version: 1.3.13 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==7325== Syscall param writev(vector[...]) points to uninitialised byte(s) ==7325== at 0x4E9528CC: writev (in /usr/lib/libc-2.18.so) ==7325== by 0x7BC7FDBF: send_request (server.c:213) ==7325== by 0x7BC7FF51: wine_server_call (server.c:294) ==7325== by 0x7BC44D67: FILE_CreateFile (file.c:185) ==7325== by 0x7BC44FB8: NtCreateFile (file.c:279) ==7325== by 0x7B860841: CreateDirectoryW (path.c:1531) ==7325== by 0x7B8608F0: CreateDirectoryA (path.c:1555) ==7325== by 0x497D484: test_CreateDirectoryA (security.c:3085) ==7325== by 0x498A469: func_security (security.c:5423) ==7325== by 0x4999ED4: run_test (test.h:584) ==7325== by 0x499A2C3: main (test.h:654) ==7325== Address 0x472dcf8 is 88 bytes inside a block of size 120 alloc'd ==7325== at 0x7BC4C735: notify_alloc (heap.c:255) ==7325== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==7325== by 0x7BC884F6: NTDLL_create_struct_sd (sync.c:118) ==7325== by 0x7BC44C62: FILE_CreateFile (file.c:167) ==7325== by 0x7BC44FB8: NtCreateFile (file.c:279) ==7325== by 0x7B860841: CreateDirectoryW (path.c:1531) ==7325== by 0x7B8608F0: CreateDirectoryA (path.c:1555) ==7325== by 0x497D484: test_CreateDirectoryA (security.c:3085) ==7325== by 0x498A469: func_security (security.c:5423) ==7325== by 0x4999ED4: run_test (test.h:584) ==7325== by 0x499A2C3: main (test.h:654) ==7325== Uninitialised value was created by a client request ==7325== at 0x7BC4C52C: mark_block_uninitialized (heap.c:209) ==7325== by 0x7BC4C697: initialize_block (heap.c:240) ==7325== by 0x7BC50FA3: RtlAllocateHeap (heap.c:1717) ==7325== by 0x497D2A5: test_CreateDirectoryA (security.c:3067) ==7325== by 0x498A469: func_security (security.c:5423) ==7325== by 0x4999ED4: run_test (test.h:584) ==7325== by 0x499A2C3: main (test.h:654) ==7325==