PFZheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by jlo...@gmail.com on 27 Apr 2011 at 1:58

GoogleCodeExporter commented 9 years ago
Fixed in r968

Original comment by jlo...@gmail.com on 27 Apr 2011 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 17 Jun 2011 at 9:09

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 27 Jun 2011 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 8 Jul 2011 at 7:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r968 == revision e5177714aa11

Original comment by g.rodola on 2 Mar 2013 at 12:00