avocado/utils/sysinfo.py
Function call with shell=True parameter identified, possible security issue. Open
Open
result = process.run(
self.cmd,
timeout=self.timeout,
verbose=False,
ignore_status=True,
- Exclude checks
subprocess call - check for execution of untrusted input. Open
Open
self.daemon_process = subprocess.Popen(
shlex.split(self.cmd),
stdin=stdin,
stdout=stdout,
stderr=subprocess.STDOUT,
- Exclude checks
Consider possible security implications associated with subprocess module. Open
Open
import subprocess
- Exclude checks
File sysinfo.py
has 309 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#