Project

General

Profile

Actions

Bug #4472

closed

YAML -- interpretation of "~" (tilde)

Added by Jeff Lucovsky almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

The YAML spec states that the "~" character represents a null value. For example

logging:
  default-log-level: ~

This should be interpreted the same as:

logging:
  default-log-level:

However, it's interpreted as a literal value, not null, by the Suricata YAML parsing logic in Suricata.

Actions #1

Updated by Jason Ish almost 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Ish

Per the YAML spec, the following should result in a null value:

null | Null | NULL | ~

Actions #2

Updated by Jason Ish almost 3 years ago

  • Status changed from In Progress to Closed
  • Affected Versions 5.0.0 added

PR: https://github.com/OISF/suricata/pull/6105

Now merged into master.

Actions

Also available in: Atom PDF