avocado/utils/disk.py
Probable insecure usage of temp file/directory. Open
Open
"/tmp/creat_partition" + process.run("date '+%d-%m-%y_%T'").stdout_text.strip()
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
out = process.system_output(cmd, shell=True, ignore_status=True).decode("utf-8")
- Exclude checks
File disk.py
has 345 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.
#