]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2593 in SNORT/snort3 from ~KBHANDAN/snort3:crunch_crash to master
authorLokesh Bevinamarad (lbevinam) <lbevinam@cisco.com>
Mon, 2 Nov 2020 11:46:38 +0000 (11:46 +0000)
committerLokesh Bevinamarad (lbevinam) <lbevinam@cisco.com>
Mon, 2 Nov 2020 11:46:38 +0000 (11:46 +0000)
Squashed commit of the following:

commit e515bbe448f601c91e70a283a62b71277e855331
Author: Kaushal Bhandankar <kbhandan@cisco.com>
Date:   Sun Nov 1 23:02:04 2020 -0500

    flow: Return correct type from the release stub method

src/flow/test/flow_control_test.cc

index 5515374f1633a254fb8441aa0b6a1a57577cef6d..fec727c0bebe34c78a631d28400ddef918fad34f 100644 (file)
@@ -169,7 +169,7 @@ int ExpectCache::add_flow(const Packet*,
     return 1;
 }
 
-bool FlowCache::release(Flow*, PruneReason, bool) { }
+bool FlowCache::release(Flow*, PruneReason, bool) { return true; }
 
 TEST_GROUP(stale_flow) { };