]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
splitter init bug
authorTom Peters <thopeter@cisco.com>
Tue, 22 Jul 2014 15:13:41 +0000 (11:13 -0400)
committerTom Peters <thopeter@cisco.com>
Tue, 22 Jul 2014 15:13:41 +0000 (11:13 -0400)
src/service_inspectors/nhttp_inspect/nhttp_stream_splitter.h

index de51cfe4fbd49354eb24c0b88246c90ad417e040..607f8ab97067054f8d765265a46dd3d352fbffac 100644 (file)
@@ -44,8 +44,8 @@ private:
     void createEvent(NHttpEnums::EventSid sid);
 
     uint64_t eventsGenerated = 0;
-    int64_t octetsSeen;
-    int numCrlf;
+    int64_t octetsSeen = 0;
+    int numCrlf = 0;
     uint32_t pafMax = 63780;
 };