[Bug 55839] New: NtCreateSymbolicLinkObject fails with STATUS_OBJECT_TYPE_MISMATCH
https://bugs.winehq.org/show_bug.cgi?id=55839 Bug ID: 55839 Summary: NtCreateSymbolicLinkObject fails with STATUS_OBJECT_TYPE_MISMATCH Product: Wine Version: 8.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: ake.rehnman(a)gmail.com Distribution: --- Created attachment 75338 --> https://bugs.winehq.org/attachment.cgi?id=75338 Test program using NtCreateSymbolicLinkObject When trying to create a symbolic link object with an already existing link NtCreateSymbolicLinkObject returns STATUS_OBJECT_TYPE_MISMATCH regardless if OBJ_OPENIF flag is passed or not. NtCreateSymbolicLinkObject in Windows 10 returns STATUS_OBJECT_NAME_COLLISION if no flag is set and STATUS_SUCCESS otherwise. The attached test program output with wine: NtCreateDirectoryObject status=0 NtCreateSymbolicLinkObject status=0 NtCreateSymbolicLinkObject status=c000003a NtCreateSymbolicLinkObject failed expected STATUS_OBJECT_NAME_COLLISION NtCreateSymbolicLinkObject status=c000003a NtCreateSymbolicLinkObject failed expected STATUS_SUCCESS Console output with windows 10: NtCreateDirectoryObject status=0 NtCreateSymbolicLinkObject status=0 NtCreateSymbolicLinkObject status=c0000035 NtCreateSymbolicLinkObject status=0 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 ake.rehnman(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75338|0 |1 is obsolete| | --- Comment #1 from ake.rehnman(a)gmail.com --- Created attachment 75341 --> https://bugs.winehq.org/attachment.cgi?id=75341 Test program #2 using NtCreateSymbolicLinkObject -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 --- Comment #2 from ake.rehnman(a)gmail.com --- The previous example did not show the problem properly since I managed upload the wrong test code. Find the revised test code #2 above. The attached test program #2 output with wine: NtCreateDirectoryObject status=0 NtCreateSymbolicLinkObject status=0 NtCreateSymbolicLinkObject status=c0000035 NtCreateSymbolicLinkObject status=c0000024 NtCreateSymbolicLinkObject failed expected STATUS_SUCCESS Console output with windows 10: NtCreateDirectoryObject status=0 NtCreateSymbolicLinkObject status=0 NtCreateSymbolicLinkObject status=c0000035 NtCreateSymbolicLinkObject status=0 Test passed -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |afb16d3ee2cdbc5c7fc6119fa9c | |805ca0611baa6 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- It should be fixed by afb16d3ee2cdbc5c7fc6119fa9c805ca0611baa6. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 ake.rehnman(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from ake.rehnman(a)gmail.com --- Patch seem to work. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55839 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.20. -- 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.
participants (1)
-
WineHQ Bugzilla