summaryrefslogtreecommitdiff
path: root/security/rain/files/patch-source__rain_tcp.c
blob: cc2b8d7970db7b48f46c7b7548e5c627e9d19939 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- source/rain_tcp.c.orig	Fri Aug 17 07:36:07 2001
+++ source/rain_tcp.c	Wed Apr 20 01:19:04 2005
@@ -244,7 +244,7 @@
   }
 
 
-  pkt->tot_len = (sizeof(struct tcphdr) + strlen(buffer));
+  pkt->tot_len = (sizeof(struct tcphdr) + sizeof(char)*packetsize);
 
 
   /*