From friedl at adiscon.com Mon Aug 1 18:08:59 2016 From: friedl at adiscon.com (Florian Riedl) Date: Mon, 1 Aug 2016 18:08:59 +0200 Subject: [Lognorm] liblognorm 2.0.1 released Message-ID: Hi all, We have just released liblognorm 2.0.1. This new version provides some fixes for the public headers als well as issues in pkgconfig file. Also it requires libfastjson (>=0.99.3) instead of json-c. See the Changelog for details. Changelog: Version 2.0.1, 2016-08-01 - fix public headers, which invalidly contained a strndup() definition Thanks to Michael Biebel for this fix. - fix some issues in pkgconfig file Thanks to Michael Biebel for this fix. - enhance build system to natively support systems with older autoconf versions and/or missing autoconf-archive. In this case we gracefully degrade functionality, but the build still is possible. Among others, this enables builds on CentOS 5. Download: http://www.liblognorm.com/download/liblognorm-2-0-1/ As always, feedback is appreciated. Best regards, Florian Riedl From adam at spreedly.com Fri Aug 12 16:23:21 2016 From: adam at spreedly.com (Adam Williams) Date: Fri, 12 Aug 2016 10:23:21 -0400 Subject: [Lognorm] Segmentation fault: user-defined type Message-ID: Hello, I'm seeing a segmentation fault with the following rules file: ``` version=2 type=@sq:%..:string{"quoting.char.begin":"'", "quoting.char.end":"'"}% type=@event:event=%event:@sq% app=%app:@sq% type=@desc:description=%desc:string{ "quoting.mode":"required", "quoting.char.begin":"'", "quoting.char.end":"'" }% rule=: %.:@event% %.:@desc% %-:rest% ``` When I change things to this it works fine: ``` version=2 type=@sq:%..:string{"quoting.char.begin":"'", "quoting.char.end":"'"}% type=@event:event=%event:@sq% app=%app:@sq% rule=: %.:@event% description=%desc:string{ "quoting.mode":"required", "quoting.char.begin":"'", "quoting.char.end":"'" }% %-:rest% ``` Am I doing something wrong, is there a need to verify what libraries are executing, or should I report this as a bug? Thanks! Adam rsyslog 8.20.0-0adiscon3trusty1 libfastjson4 0.99.3-adiscon4trusty liblognorm5 2.0.1-1adiscon3trusty1 rsyslog-mmnormalize 8.20.0-0adiscon3trusty1 -------------- next part -------------- An HTML attachment was scrubbed... URL: