mirror of https://github.com/OISF/suricata
conf/yaml: don't allow empty key values
When loading an empty file, libyaml will fire a single scalar event causing us to create a key that contains an empty string. We're not interested in this, so skip an empty scalar value when expecting a key. Redmine issue: https://redmine.openinfosecfoundation.org/issues/2418pull/3230/head
parent
013c4e0aa0
commit
8b74ac6ba0
Loading…
Reference in New Issue