Project

General

Profile

Actions

Bug #6249

closed

config: check and fix any empty config checks

Added by Shivani Bhardwaj about 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Low
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

For a config like

myitem:

myitem is set to NULL. Create a cocci script to check such instances are always covered with checks for NULL.


Related issues 1 (0 open1 closed)

Related to Suricata - Bug #6303: conf: an empty child node is not checked for NULLClosedShivani BhardwajActions
Actions #1

Updated by Jason Ish about 1 year ago

  • Priority changed from Normal to Low
  • Target version changed from 7.0.1 to 7.0.2

Pushing to 7.0.2.

Actions #2

Updated by Shivani Bhardwaj about 1 year ago

  • Related to Bug #6303: conf: an empty child node is not checked for NULL added
Actions #3

Updated by Shivani Bhardwaj about 1 year ago

  • Status changed from Assigned to Rejected

Given that we decided to return Err in case a node was NULL, this is no longer needed.
ref: https://github.com/OISF/suricata/pull/9476

Actions

Also available in: Atom PDF