Fix global opaque val segfault, addresses BIT-1071

The opaque types need to be created before scripts are parsed.
This commit is contained in:
Jon Siwek 2013-08-29 17:17:40 -05:00
parent 742a047a40
commit dc2e3d6e04
6 changed files with 34 additions and 22 deletions

View file

@ -246,14 +246,6 @@ extern StringVal* global_hash_seed;
extern bro_uint_t bits_per_uid;
class OpaqueType;
extern OpaqueType* md5_type;
extern OpaqueType* sha1_type;
extern OpaqueType* sha256_type;
extern OpaqueType* entropy_type;
extern OpaqueType* topk_type;
extern OpaqueType* bloomfilter_type;
// Initializes globals that don't pertain to network/event analysis.
extern void init_general_global_var();