mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
ok, this bug was hard to find.
hyperloglog.h was missing guards and randomly deleting memory at addresses equal to variable contents. I am not entirely sure why that did not crash before...
This commit is contained in:
parent
a37ffab0ea
commit
240d667e30
4 changed files with 17 additions and 12 deletions
|
@ -11,11 +11,11 @@ class CardinalityCounter;
|
|||
|
||||
class CardinalityVal: public OpaqueVal {
|
||||
public:
|
||||
CardinalityVal();
|
||||
~CardinalityVal();
|
||||
bool Init(CardinalityCounter*);
|
||||
bool IsValid() const { return valid; };
|
||||
CardinalityCounter* Get() { return c; };
|
||||
CardinalityVal();
|
||||
~CardinalityVal();
|
||||
|
||||
private:
|
||||
bool valid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue