]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2862 in SNORT/snort3 from ~KATHARVE/snort3:h2_clear to master
authorTom Peters (thopeter) <thopeter@cisco.com>
Fri, 23 Apr 2021 16:07:00 +0000 (16:07 +0000)
committerTom Peters (thopeter) <thopeter@cisco.com>
Fri, 23 Apr 2021 16:07:00 +0000 (16:07 +0000)
Squashed commit of the following:

commit 1dd6a2569c6edef71833921ce744cb4a8548eb26
Author: Katura Harvey <katharve@cisco.com>
Date:   Fri Apr 23 09:27:30 2021 -0400

    http2_inspect: add assert in clear

src/service_inspectors/http_inspect/http_inspect.cc

index 72f1f0ff9edeb3513d1ae0afc51f81a33b428586..da9d7311566f814f2e9fce99968ad1b6b6d087aa 100755 (executable)
@@ -605,7 +605,7 @@ void HttpInspect::clear(Packet* p)
     if (h2i_flow_data != nullptr)
     {
         current_section = h2i_flow_data->get_hi_msg_section();
-        // assert(current_section != nullptr); // FIXIT-E fix H2I so that this is correct
+        assert(current_section != nullptr);
         h2i_flow_data->set_hi_msg_section(nullptr);
     }
     else