diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-05-04 13:35:55 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-05-04 13:35:55 +0000 |
commit | 7ba81feca0320ec1d8dc69b5954daefa82333878 (patch) | |
tree | 6811506fc0dabe4dd7c73e473cbfe5ba8b33d11e /security/rain | |
parent | 2556b0934dd5ce57d7dbc807a795b9f0b0824c0a (diff) | |
download | ports-7ba81feca0320ec1d8dc69b5954daefa82333878.tar.gz ports-7ba81feca0320ec1d8dc69b5954daefa82333878.zip |
Notes
Diffstat (limited to 'security/rain')
-rw-r--r-- | security/rain/files/patch-source__rain_icmp.c | 11 | ||||
-rw-r--r-- | security/rain/files/patch-source__rain_igmp.c | 11 | ||||
-rw-r--r-- | security/rain/files/patch-source__rain_tcp.c | 11 | ||||
-rw-r--r-- | security/rain/files/patch-source__rain_udp.c | 11 |
4 files changed, 44 insertions, 0 deletions
diff --git a/security/rain/files/patch-source__rain_icmp.c b/security/rain/files/patch-source__rain_icmp.c new file mode 100644 index 000000000000..1288fb93d156 --- /dev/null +++ b/security/rain/files/patch-source__rain_icmp.c @@ -0,0 +1,11 @@ +--- source/rain_icmp.c.orig Fri Aug 17 07:36:45 2001 ++++ source/rain_icmp.c Wed Apr 20 01:18:32 2005 +@@ -256,7 +256,7 @@ + } + + +- pkt->tot_len = (sizeof(struct icmp) + strlen(buffer)); ++ pkt->tot_len = (sizeof(struct icmp) + sizeof(char)*packetsize); + + + /* diff --git a/security/rain/files/patch-source__rain_igmp.c b/security/rain/files/patch-source__rain_igmp.c new file mode 100644 index 000000000000..0849e01100c1 --- /dev/null +++ b/security/rain/files/patch-source__rain_igmp.c @@ -0,0 +1,11 @@ +--- source/rain_igmp.c.orig Fri Aug 17 07:37:15 2001 ++++ source/rain_igmp.c Wed Apr 20 01:18:45 2005 +@@ -114,7 +114,7 @@ + } + + +- pkt->tot_len = (sizeof(struct igmp) + strlen(buffer)); ++ pkt->tot_len = (sizeof(struct igmp) + sizeof(char)*packetsize); + + + /* 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); + + + /* diff --git a/security/rain/files/patch-source__rain_udp.c b/security/rain/files/patch-source__rain_udp.c new file mode 100644 index 000000000000..b16319b01e6e --- /dev/null +++ b/security/rain/files/patch-source__rain_udp.c @@ -0,0 +1,11 @@ +--- source/rain_udp.c.orig Fri Aug 17 07:36:26 2001 ++++ source/rain_udp.c Wed Apr 20 01:19:27 2005 +@@ -105,7 +105,7 @@ + buffer[(sizeof(struct ip) + sizeof(struct udphdr)) + i] = pkt->payload[i]; + } + +- pkt->tot_len = (sizeof(struct udphdr) + strlen(buffer)); ++ pkt->tot_len = (sizeof(struct udphdr) + sizeof(char)*packetsize); + + + /* |