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

grigorescu (JIRA) jira at bro-tracker.atlassian.net
Wed Jun 4 08:37:09 PDT 2014


grigorescu created BIT-1200:
-------------------------------

             Summary: 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: 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
(v6.3-OD-06-017#6327)


More information about the bro-dev mailing list