Repository navigation
重写真机虚拟屏幕生命周期 - #301
重写真机虚拟屏幕生命周期#301megumiss wants to merge 3 commits into
Conversation
| result = subprocess.run( | ||
| [self.adb_binary, '-s', self.serial, *map(str, args)], | ||
| capture_output=True, text=True, encoding='utf-8', errors='replace', timeout=timeout, | ||
| creationflags=getattr(subprocess, 'CREATE_NO_WINDOW', 0), | ||
| ) |
There was a problem hiding this comment.
security (python.lang.security.audit.dangerous-subprocess-use-audit): Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'.
Source: opengrep
There was a problem hiding this comment.
security (python.lang.security.audit.dangerous-subprocess-use-audit): Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'.
Source: opengrep

Sourcery 摘要
将物理设备的虚拟显示器作为由后端拥有的持久会话进行管理,并将所有现有控制连接到经过验证的当前屏幕。
新功能:
错误修复:
增强功能:
部署:
文档:
测试:
Original summary in English
Summary by Sourcery
Manage physical-device virtual displays as persistent backend-owned sessions and reconnect all existing controls to the verified current screen.
New Features:
Bug Fixes:
Enhancements:
Deployment:
Documentation:
Tests:
Original summary in English