Skip to content

Commit

Permalink
fix: use a copy of the issue_row object for the _temp-Finding variabl…
Browse files Browse the repository at this point in the history
…e because otherwise changes in _temp will reflect to issue_row which is a bad idea (#9792)
  • Loading branch information
MarianG authored Mar 28, 2024
1 parent 120c623 commit 6da3cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/qualys/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def parse_finding(host, tree):

# Scan details
for vuln_details in host.iterfind("VULN_INFO_LIST/VULN_INFO"):
_temp = issue_row
_temp = issue_row.copy()
# Port
_gid = vuln_details.find("QID").attrib["id"]
_port = vuln_details.findtext("PORT")
Expand Down

0 comments on commit 6da3cca

Please sign in to comment.