mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/shutdown-use-after-free'
* origin/topic/timw/shutdown-use-after-free: Fix a use-after-free during shutdown
This commit is contained in:
commit
56ee21b97b
4 changed files with 7 additions and 3 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
4.2.0-dev.50 | 2021-07-27 09:36:13 -0700
|
||||
|
||||
* Fix a use-after-free during shutdown (Tim Wojtulewicz, Corelight)
|
||||
|
||||
4.2.0-dev.48 | 2021-07-26 13:03:01 -0700
|
||||
|
||||
* GH-1693: Fix potential crash with elements being modified during robust iteration (Tim Wojtulewicz, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.2.0-dev.48
|
||||
4.2.0-dev.50
|
||||
|
|
|
@ -422,8 +422,6 @@ void delete_run()
|
|||
{
|
||||
util::detail::set_processing_status("TERMINATING", "delete_run");
|
||||
|
||||
delete session_mgr;
|
||||
|
||||
for ( int i = 0; i < zeek::detail::NUM_ADDR_ANONYMIZATION_METHODS; ++i )
|
||||
delete zeek::detail::ip_anonymizer[i];
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
#include "zeek/iosource/Manager.h"
|
||||
#include "zeek/broker/Manager.h"
|
||||
#include "zeek/telemetry/Manager.h"
|
||||
#include "zeek/session/Manager.h"
|
||||
|
||||
#include "zeek/binpac_zeek.h"
|
||||
#include "zeek/module_util.h"
|
||||
|
@ -334,6 +335,7 @@ static void terminate_bro()
|
|||
delete reporter;
|
||||
delete plugin_mgr;
|
||||
delete val_mgr;
|
||||
delete session_mgr;
|
||||
delete fragment_mgr;
|
||||
delete telemetry_mgr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue