mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fixing key size calculation in composite hash code.
This commit is contained in:
parent
b7d421dbc4
commit
2636ec4679
3 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
1.6-dev-1118 | 2011-08-18 14:11:55 -0700
|
||||||
|
|
||||||
|
* Fixing key size calculation in composite hash code. (Robin Sommer)
|
||||||
|
|
||||||
1.6-dev-1116 | 2011-08-18 10:05:07 -0700
|
1.6-dev-1116 | 2011-08-18 10:05:07 -0700
|
||||||
|
|
||||||
* Remove the 'net' type from Bro (addresses #535).
|
* Remove the 'net' type from Bro (addresses #535).
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.6-dev-1116
|
1.6-dev-1118
|
||||||
|
|
|
@ -393,7 +393,7 @@ int CompositeHash::SingleTypeKeySize(BroType* bt, const Val* v,
|
||||||
|
|
||||||
sz = SingleTypeKeySize(rt->FieldType(i),
|
sz = SingleTypeKeySize(rt->FieldType(i),
|
||||||
rv ? rv->Lookup(i) : 0,
|
rv ? rv->Lookup(i) : 0,
|
||||||
type_check, sz, optional);
|
type_check, sz, v && optional);
|
||||||
if ( ! sz )
|
if ( ! sz )
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue