[Snort-devel] Re: [Snort-users] alert.full strangeness

Fyodor fygrave at ...121...
Mon Apr 9 17:32:49 EDT 2001


> 
> 2 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 6 + 1 = 25, probably the last
> space 'doesnt fit' because \x0 byte has to be there as well... try following
> patch for snort.c and see if it fixes the problem:


arr.. Should be always doing 'fix->test->write', not in reverse order :-}


Index: snort.h
===================================================================
RCS file: /cvsroot/snort/snort/snort.h,v
retrieving revision 1.39
diff -u -r1.39 snort.h
--- snort.h	2001/04/07 06:43:50	1.39
+++ snort.h	2001/04/09 21:29:49
@@ -149,7 +149,7 @@
     #endif
 #endif    
 
-#define TIMEBUF_SIZE    25
+#define TIMEBUF_SIZE    26
 
 /*  D A T A  S T R U C T U R E S  *********************************************/
 /* struct to contain the program variables and command line args */





More information about the Snort-users mailing list