[Bro] appending to a vector

Scott Runnels srunnels at gmail.com
Wed Jun 19 10:08:21 PDT 2013


In that case, does it need to be a constant?



Scott Runnels



On Wed, Jun 19, 2013 at 12:57 PM, David Mandelberg <david at mandelberg.org>wrote:

> On 2013-06-19 12:42, Seth Hall wrote:
> > On Jun 19, 2013, at 12:14 PM, David Mandelberg <david at mandelberg.org>
> > wrote:
> >
> >> What's the recommended way to append to a vector?
> >
> > Many (most?) of us strongly dislike vectors in Bro.  It's likely
> > something that will be improved in the next couple of releases if I
> > had to make a guess. :)
>
> Maybe there's a better way to do what I want without vectors. I have a
> somewhat complex record type and I want to store multiple records of
> that type in a container of some sort. I want to be able to iterate over
> the container, but I don't care about order (vector) or uniqueness
> (set). When I tried using sets, I got the error below, so I switched to
> vectors.
>
> internal error: over-ran key in CompositeHash::RecoverVals
> Aborted
>
>
> > Generally though you're going to run into weird poorly defined edge
> > cases like this with vectors
>
> :)
>
> --
> David Eric Mandelberg / dseomn
> http://david.mandelberg.org/
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20130619/8150babc/attachment.html 


More information about the Bro mailing list