mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix crash related to Broker stores
This commit is contained in:
parent
68bc6111ed
commit
b23869a2cd
1 changed files with 3 additions and 0 deletions
|
@ -1900,6 +1900,9 @@ detail::StoreHandleVal* Manager::MakeClone(const string& name, double resync_int
|
|||
auto handle = new detail::StoreHandleVal{*result};
|
||||
Ref(handle);
|
||||
|
||||
if ( ! handle->proxy.valid() )
|
||||
reporter->FatalError("Failed to create clone for data store %s", name.c_str());
|
||||
|
||||
data_stores.emplace(name, handle);
|
||||
if ( ! iosource_mgr->RegisterFd(handle->proxy.mailbox().descriptor(), this) )
|
||||
reporter->FatalError("Failed to register broker clone mailbox descriptor with iosource_mgr");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue