mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ntdll/tests: Don't pass uninitialized object attributes to symlink functions.
This commit is contained in:
parent
2274fc1ade
commit
c1a8484089
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue