Project

General

Profile

Bug #4472

YAML -- interpretation of "~" (tilde)

Added by Jeff Lucovsky about 2 months ago. Updated about 2 months 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.

#1

Updated by Jason Ish about 2 months 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 | ~

#2

Updated by Jason Ish about 2 months 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.

Also available in: Atom PDF