Mercurial > hg > th-libs
view cfg.test01 @ 704:b6b8e7249666
Check that the buffer length is >= 1 before trying to access buf[len - 1]
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 26 Apr 2020 23:34:21 +0300 |
parents | 77495c646208 |
children |
line wrap: on
line source
# Configuration written by th-libs unit tests 0.2 general = { # A comment that # spans multiple # lines automatically a_string_setting = "v_str1" #test # Hex triplet value setting hexval="11223344" # A boolean value boolval = no # A string list string_list = "\zoo", "foo", "b\"ar" } another_sect = { # Another section boolval = yes inside_sect = { # Section inside a section intval = 112 } }