lubyk / yaml

Yaml for Lubyk.
https://lubyk.github.io/lubyk/yaml.html
Other
19 stars 5 forks source link

Null values segfault loadpath() #6

Open alerque opened 7 years ago

alerque commented 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.

Setting the option configure({ load_nulls_as_nil = true }) works either way, the segfault only happens when this option is not set.