Commit c1a84840 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Don't pass uninitialized object attributes to symlink functions.

parent 2274fc1a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment