Files
codeql/python/ql/test/query-tests/Security/CWE-078-UnsafeShellCommandConstruction/setup_posix.py
Owen Mansel-Chan 5a97348e78 python: Inline expectation should have space after $
This was a regex-find-replace from `# \$(?! )` (using a negative lookahead) to `# $ `.
2026-03-04 12:45:05 +00:00

5 lines
126 B
Python

import os
def unsafe_setup(name):
os.system("ping " + name) # $ result=OK - this is inside a setyp script, so it's fine.