aboutsummaryrefslogtreecommitdiff
path: root/security/rain/files/patch-source__rain_tcp.c
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-05-04 13:35:55 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-05-04 13:35:55 +0000
commit7ba81feca0320ec1d8dc69b5954daefa82333878 (patch)
tree6811506fc0dabe4dd7c73e473cbfe5ba8b33d11e /security/rain/files/patch-source__rain_tcp.c
parent2556b0934dd5ce57d7dbc807a795b9f0b0824c0a (diff)
downloadports-7ba81feca0320ec1d8dc69b5954daefa82333878.tar.gz
ports-7ba81feca0320ec1d8dc69b5954daefa82333878.zip
Notes
Diffstat (limited to 'security/rain/files/patch-source__rain_tcp.c')
-rw-r--r--security/rain/files/patch-source__rain_tcp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/rain/files/patch-source__rain_tcp.c b/security/rain/files/patch-source__rain_tcp.c
new file mode 100644
index 000000000000..cc2b8d7970db
--- /dev/null
+++ b/security/rain/files/patch-source__rain_tcp.c
@@ -0,0 +1,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);
+
+
+ /*