[Bug 55352] New: NtTerminateThread should accept handle==0 as current thread
https://bugs.winehq.org/show_bug.cgi?id=55352 Bug ID: 55352 Summary: NtTerminateThread should accept handle==0 as current thread Product: Wine Version: 8.0 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 74936 --> https://bugs.winehq.org/attachment.cgi?id=74936 Example using thread handle 0 to NtTerminateThread Windows accepts thread handle 0 as current thread. See attached example Output from example: c:\temp>test_ntterminatethread.exe h=0000000000000020 call NtTerminateThread h=0 thread exitcode=1234 -- 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=55352 --- Comment #1 from ake.rehnman(a)gmail.com --- I should also mention Wine version of NtTerminateThread return STATUS_INVALID_HANDLE if 0 is used as thread handle. -- 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=55352 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Are you able to provide a patch? You should use the latest Wine from git if you can. -- 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=55352 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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=55352 --- Comment #3 from ake.rehnman(a)gmail.com --- https://gitlab.winehq.org/wine/wine/-/merge_requests/3447 -- 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