[Bug 12859] HideThreadFromDebugger in NtSetInformationThread

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 18 15:14:18 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=12859





--- Comment #9 from Anastasius Focht <focht at gmx.net>  2009-05-18 15:14:17 ---
Hello,

I should have looked more closely at the patch ... despite being very small and
non-intrusive it contains a problem.
Gcc might generate code where "status" return value isn't explicitly
initialized which might result in garbage NTSTATUS returned.
This is bad for next call which is coded in a way to take status as pointer
parameter (bug 18500).
I suggest you directly return STATUS_SUCCESS for ThreadHideFromDebugger case.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list