From c1a8484089a0203ca105388c497d7bc2819f77ea Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 17 Feb 2009 12:46:44 +0100 Subject: [PATCH] ntdll/tests: Don't pass uninitialized object attributes to symlink functions. --- dlls/ntdll/tests/om.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c index bde6032fdfb..ed3eb46e85e 100644 --- a/dlls/ntdll/tests/om.c +++ b/dlls/ntdll/tests/om.c @@ -536,6 +536,7 @@ static void test_symboliclink(void) IO_STATUS_BLOCK iosb; /* No name and/or no attributes */ + InitializeObjectAttributes(&attr, NULL, 0, 0, NULL); SYMLNK_TEST_CREATE_OPEN_FAILURE2(NULL, "", "", STATUS_ACCESS_VIOLATION, STATUS_INVALID_PARAMETER) status = pNtCreateSymbolicLinkObject(&h, SYMBOLIC_LINK_QUERY, NULL, NULL);