Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetSeDebug() does not close handles or unset impersonation on return #159

Closed
giampaolo opened this issue May 23, 2014 · 5 comments
Closed

Comments

@giampaolo
Copy link
Owner

From [email protected] on April 27, 2011 15:58:11

SetSeDebug() uses ImpersonateSelf() and opens a thread token, and not all 
return paths were closing the token handle or calling ReturnToSelf() to unset 
impersonation after updating privileges.

Original issue: http://code.google.com/p/psutil/issues/detail?id=159

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From [email protected] on April 27, 2011 06:58:34

Fixed in r968

Status: FixedInSVN

@giampaolo
Copy link
Owner Author

From g.rodola on June 17, 2011 14:09:38

Labels: Milestone-0.2.2

@giampaolo
Copy link
Owner Author

From g.rodola on June 27, 2011 10:52:41

Labels: Milestone-0.3.0

@giampaolo
Copy link
Owner Author

From g.rodola on July 08, 2011 12:07:35

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:00:03

Updated csets after the SVN -> Mercurial migration: r968 == revision 
e5177714aa11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant