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

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Mon Oct 19 13:21:00 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johanna Amann updated BIT-1200:
-------------------------------
    Resolution: Duplicate
        Status: Closed  (was: Open)

Closing as a duplicate of BIT-249

> 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-08-002#70107)


More information about the bro-dev mailing list