summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_preprocessors_Stream5_snort_stream5_tcp_c
blob: 4948465a3aba26465ff75e93ac11cd3a35703119 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- snort-2.8.5.1.orig/src/preprocessors/Stream5/snort_stream5_tcp.c	2009-10-02 22:30:01.000000000 +0200
+++ snort-2.8.5.1/src/preprocessors/Stream5/snort_stream5_tcp.c	2009-12-27 17:16:36.000000000 +0100
@@ -6913,7 +6913,7 @@ static int ProcessTcp(Stream5LWSession *
                     char timestamp[TIMEBUF_SIZE];
                     char src_addr[17];
                     char dst_addr[17];
-                    bzero((char *)timestamp, TIMEBUF_SIZE);
+                    memset((char *)timestamp, 0, TIMEBUF_SIZE);
                     ts_print((struct timeval *) &p->pkth->ts, timestamp);
                     SnortSnprintf(src_addr, 17, "%s",
                         inet_ntoa(GET_SRC_ADDR(p)));