Open alerque opened 7 years ago
Loading a YAML file that has null values such as key: ~ segfaults the loader. Using key: null works. Both are valid according to the YAML spec.
key: ~
key: null
Setting the option configure({ load_nulls_as_nil = true }) works either way, the segfault only happens when this option is not set.
configure({ load_nulls_as_nil = true })
Loading a YAML file that has null values such as
key: ~
segfaults the loader. Usingkey: null
works. Both are valid according to the YAML spec.Setting the option
configure({ load_nulls_as_nil = true })
works either way, the segfault only happens when this option is not set.