mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/fix-ConnectionEvent-leak'
* origin/topic/jsiwek/fix-ConnectionEvent-leak: Fix memory leak in deprecated Analyzer::ConnectionEvent()
This commit is contained in:
commit
995d889789
3 changed files with 6 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
3.3.0-dev.546 | 2020-11-17 11:50:47 +0000
|
||||
|
||||
* Fix memory leak in deprecated Analyzer::ConnectionEvent() (Jon Siwek, Corelight)
|
||||
|
||||
3.3.0-dev.543 | 2020-11-16 11:50:49 -0800
|
||||
|
||||
* GH-352: Improve HTTP::match_sql_injection_uri regex (Jon Siwek, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.3.0-dev.543
|
||||
3.3.0-dev.546
|
||||
|
|
|
@ -811,6 +811,7 @@ void Analyzer::Event(EventHandlerPtr f, Val* v1, Val* v2)
|
|||
void Analyzer::ConnectionEvent(EventHandlerPtr f, ValPList* vl)
|
||||
{
|
||||
auto args = val_list_to_args(*vl);
|
||||
delete vl;
|
||||
|
||||
if ( f )
|
||||
conn->EnqueueEvent(f, this, std::move(args));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue