SonarOpenCommunity / sonar-cxx

Hardcoded temporary directory detected BAN-B108
Security
Major
7 months ago3 years old
Probable insecure usage of temp file/directory.
192            if len(name_tag) > 200:
193                print("### ERR: <name> too long (max 200)")
194                has_len_errors = True             
195            description_dump_path = "/tmp/" + key + ".ruledump"196            with open(description_dump_path, "w") as f:
197                html = """<!DOCTYPE html>
198<html>