[Bro] Anything unusual about the broker_data_as_vector() function?

Siwek, Jon jsiwek at illinois.edu
Mon Aug 10 07:34:55 PDT 2015


> On Aug 7, 2015, at 7:35 PM, David Banas <capn.freako at gmail.com> wrote:
> 
> I’m trying to use the broker_data_as_vector() function and am getting a null pointer returned to me.
> I’ve checked the validity of the broker_data* value I’m sending in.
> Is there anything unusual about this function? Why might it return a null pointer?

I think the only reason would be if the broker_data* argument isn’t actually a vector type.  You could use broker_data_which(), for example, to inspect the actual type as a sanity check.

- Jon


More information about the Bro mailing list