Actions
Bug #2834
closedcoverity: CID 327298: Null pointer dereferences (FORWARD_NULL)
Affected Versions:
Effort:
Difficulty:
Label:
Description
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 327298: Null pointer dereferences (FORWARD_NULL) /suricata/update/rule.py: 271 in parse() ________________________________________________________________________________________________________ *** CID 327298: Null pointer dereferences (FORWARD_NULL) /suricata/update/rule.py: 271 in parse() 265 elif name == "metadata": 266 if not name in rule: 267 rule[name] = [] 268 rule[name] += [v.strip() for v in val.split(",")] 269 elif name == "flowbits": 270 rule.flowbits.append(val) >>> CID 327298: Null pointer dereferences (FORWARD_NULL) >>> Accessing a property of null-like value "val". 271 if val.find("noalert") > -1: 272 rule["noalert"] = True 273 elif name == "reference": 274 rule.references.append(val) 275 elif name == "msg": 276 if val and val.startswith('"') and val.endswith('"'):
Updated by Shivani Bhardwaj almost 6 years ago
- Status changed from Assigned to Feedback
- Target version set to TBD
Updated by Shivani Bhardwaj over 5 years ago
- Status changed from Feedback to Closed
Updated by Shivani Bhardwaj over 5 years ago
Updated by Shivani Bhardwaj over 5 years ago
- Target version changed from TBD to 1.0.5
Actions