]> git.ipfire.org Git - thirdparty/snort3.git/commit
Merge pull request #768 in SNORT/snort3 from expected_leak to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 9 Jan 2017 19:38:43 +0000 (14:38 -0500)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 9 Jan 2017 19:38:43 +0000 (14:38 -0500)
commit1d125224f3cbfe922753027fcfdf8d2c773c9725
treec7bf3f118bbf4b6665df5366e010ccde6fc4a023
parent38a42910a4bae50ad09d2f9465273cf419b0d2a4
Merge pull request #768 in SNORT/snort3 from expected_leak to master

Squashed commit of the following:

commit bc95f17209177c4d6e1417bb5a80ba47ae831ac9
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon Jan 9 14:16:31 2017 -0500

    expected: Fix expected flow leak when expiring nodes during lookup

    If expected cache nodes are expired during lookup, their associated
    unconsumed flows are leaked, eventually leading to a segfault when the
    pool of expected flows are exhausted.  This fix releases the expected
    flows when expiring the expected node.

    Thanks to João Soares <joaosoares11@hotmail.com> for reporting the
    issue.
src/flow/expect_cache.cc