[Bro-Dev] [JIRA] (BIT-1200) CloneSerializer cannot handle recursive records

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Fri Sep 11 17:41:00 PDT 2015


    [ https://bro-tracker.atlassian.net/browse/BIT-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22027#comment-22027 ] 

Johanna Amann commented on BIT-1200:
------------------------------------

Do we just want to close this because it will not be possible with broker in any case and recursive records are not well supported in Bro generally?

> CloneSerializer cannot handle recursive records
> -----------------------------------------------
>
>                 Key: BIT-1200
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1200
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Vlad Grigorescu
>
> Running something like this will result in an infinite loop in the serializer:
> {code}
> type conn_with_ts: record {
>     c: connection;
>     ts: time;
> };
> redef record connection += {
>     conn_with_ts: conn_with_ts &optional;
> };
> event connection_established(c: connection) {
>     local oops = copy(c);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.0.0-OD-04-018#70102)


More information about the bro-dev mailing list