Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Fix small bug: sets that are written to logfiles may only contain atomic types. (trying to write sets of records, etc. leads to a bro segfault)
This commit is contained in:
Robin Sommer 2011-11-16 08:24:33 -08:00
commit 5fbebe1e22
3 changed files with 16 additions and 2 deletions

14
CHANGES
View file

@ -1,4 +1,18 @@
2.0-beta-47 | 2011-11-16 08:24:33 -0800
* Catch if logged sets do not contain only atomic types. (Bernhard
Amann)
* Promote libz and libmagic to required dependencies. (Jon Siwek)
* Fix parallel make from top-level to work on more platforms. (Jon
Siwek)
* Add decode_base64_custom(). Addresses #670 (Jon Siwek)
* A bunch of Sphinx-doc reorgs and polishing. (Jon Siwek)
2.0-beta-28 | 2011-11-14 20:09:28 -0800 2.0-beta-28 | 2011-11-14 20:09:28 -0800
* Binary packaging script tweaks. We now require CMake 2.8.6. (Jon Siwek) * Binary packaging script tweaks. We now require CMake 2.8.6. (Jon Siwek)

View file

@ -1 +1 @@
2.0-beta-28 2.0-beta-47

View file

@ -149,7 +149,7 @@ bool LogVal::IsCompatibleType(BroType* t, bool atomic_only)
if ( ! t->IsSet() ) if ( ! t->IsSet() )
return false; return false;
return IsCompatibleType(t->AsSetType()->Indices()->PureType()); return IsCompatibleType(t->AsSetType()->Indices()->PureType(), true);
} }
case TYPE_VECTOR: case TYPE_VECTOR: