Project

General

Profile

Actions

Bug #2676

closed

coverity warning: forward null

Added by Victor Julien almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Error: FORWARD_NULL (CWE-476):
suricata-4.1.0/suricata-update/suricata/update/rule.py:295: assign_null: Assigning: "val" = "None".
suricata-4.1.0/suricata-update/suricata/update/rule.py:313: property_access: Accessing a property of null-like value "val".
#  311|               rule.references.append(val)
#  312|           elif name == "msg":
#  313|->             if val.startswith('"') and val.endswith('"'):
#  314|                   val = val[1:-1]
#  315|               rule[name] = val
Actions #1

Updated by Jason Ish almost 6 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF