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)
_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to