[Bro-Dev] Hui Lin_std::length_error

Robin Sommer robin at icir.org
Tue Jul 24 07:41:23 PDT 2012

On Mon, Jul 23, 2012 at 16:46 -0500, you wrote:

> terminate called after throwing an instance of 'std::length_error'
>   what():  vector::reserve

A guess without looking at the code: could it be taking a value from
the input to then determine the size of a vector? If so, a fuzzed
value may turn into a value larger than the vector can grow to.

If you attach a debugger, it should show you where the exception is
raised (in the generated binpac code, though, so you may need to do a
bit of digging what the corresponding .pac part is).


Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org

More information about the bro-dev mailing list