mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Fix lookup_hostname BIF (and memory leak in it).
The problem was caused by uninitialized is_text member in AsyncRequest.
This commit is contained in:
parent
dae9c946b6
commit
89500c9176
2 changed files with 2 additions and 1 deletions
|
@ -174,6 +174,8 @@ protected:
|
|||
bool is_txt;
|
||||
CallbackList callbacks;
|
||||
|
||||
AsyncRequest() : time(0.0), is_txt(false) { }
|
||||
|
||||
bool IsAddrReq() const { return name.length() == 0; }
|
||||
|
||||
void Resolved(const char* name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue