miker2 / flexi_config_reader

A flexible configuration format that supports templated tables and referencing of existing keys.
MIT License
3 stars 1 forks source link

Segfault on reading of list containing unquoted strings #91

Open miker2 opened 1 year ago

miker2 commented 1 year ago

Attempting to read a config that looks like this:

struct foo {
  bar = [this, is, broken]

  struct baz {
    bad_key = broken
  }
}

Results in a segfault. This is clearly a malformed config, but a more useful error message could be produced.

jayv commented 3 weeks ago

This was very likely fixed as part of #127 which fixes a segfault when logging empty lists.