On Tue, Oct 22, 2013 at 10:00 PM, Pavel Levshin <[email protected]>wrote:

> Hello,
>
> while researching usage of local variables, I've come across a
> segmentation fault with this construct:
>
> set $.top = "default";
> set $.top!leaf = 1;
>
> The crash has happened in json_object_object_get because parent is a
> string. Quick patch attached. Perhaps the error message should be louder to
> warn user.
>

I'll reconsider this as part of the refactoring work. I tend to agree ;)

I have now merged the patch. All please note that it also applies to 7.4.

It will be released together with 7.4.6 and 7.5.6 and is available via git
right now.

Thanks again!
Rainer

>
>
> --
> Pavel Levshin
>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to