v1.8.31: fix SetWindowLongW overflow — unsigned 32-bit style mask

GetWindowLongW returns signed int; bitwise ops with WS_POPUP (0x80000000)
overflow ctypes c_long. Fixed with & 0xFFFFFFFF mask + ctypes.c_long() cast.
Also tightened window class filter: pid_match now requires known mstsc class.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-02-24 12:02:58 -05:00
parent 82e64b5fad
commit 91bc1c0345
3 changed files with 13 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
"""Version info for ServerManager."""
__version__ = "1.8.29"
__version__ = "1.8.31"
__app_name__ = "ServerManager"
__author__ = "aibot777"
__description__ = "Desktop GUI for managing remote servers"