elevate icon indicating copy to clipboard operation
elevate copied to clipboard

Certain Windows configurations can cause an infinite recursion

Open catb0t opened this issue 6 years ago • 1 comments

when UAC is disabled (no asking passwords) but the account isn't an administrator, then windows.elevate recurses forever (as isUserAnAdmin() is never true and the function never crashes) and eventually eats up all the RAM spawning new processes.

Next I'll write the more permanent fix but i'm using a shim one in the path-resolving branch for now.

catb0t avatar Dec 14 '18 01:12 catb0t

Actually I think this might happen regardless of UAC for me. On the other hand, my Windows 7 is screwed up and customised to the point where it might be the problem (although I wouldn't think with a separate new user account...)

catb0t avatar Dec 14 '18 01:12 catb0t