rsyslog / liblognorm

a fast samples-based log normalization library
http://www.liblognorm.com
GNU Lesser General Public License v2.1
99 stars 64 forks source link

Segmentation fault with char-to in while #355

Open kortemik opened 2 years ago

kortemik commented 2 years ago

rule

version=2

rule=:a %
        {"name":"numbers", "type":"repeat",
            "parser":
                     {"type":"number", "name":"n"},
            "while":
                     {"type":"char-to", "name":"host", "extradata":":"}
         }% b

payload

a 1 : 2 b

liblognorm version: 2.0.4