summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-14 02:24:19 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-14 02:24:19 +0000
commitc6570d5e806530e3da1ae8b931827fe052c653c5 (patch)
treea05ac6e712a8ca3cbd07a3d6bd8accea029d515c /games-strategy
parentStable on alpha wrt bug #153726. (diff)
downloadgentoo-2-c6570d5e806530e3da1ae8b931827fe052c653c5.tar.gz
gentoo-2-c6570d5e806530e3da1ae8b931827fe052c653c5.tar.bz2
gentoo-2-c6570d5e806530e3da1ae8b931827fe052c653c5.zip
rm old file
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch b/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch
deleted file mode 100644
index 83a61dd1dc97..000000000000
--- a/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- trunk/server/unithand.c 2006/07/12 17:18:43 12065
-+++ trunk/server/unithand.c 2006/07/16 12:15:25 12106
-@@ -1622,7 +1622,8 @@
- struct tile *src_tile = map_pos_to_tile(packet->src_x, packet->src_y);
- int i;
-
-- if (!punit || packet->length < 0 || punit->activity != ACTIVITY_IDLE) {
-+ if (!punit || packet->length < 0 || punit->activity != ACTIVITY_IDLE
-+ || packet->length > MAX_LEN_ROUTE) {
- return;
- }
-
---- trunk/common/packets.c 2006/03/04 02:42:00 11710
-+++ trunk/common/packets.c 2006/07/24 08:37:08 12146
-@@ -562,8 +562,11 @@
- chunk->total_length, chunk->chunk_length);
-
- if (chunk->total_length < 0
-+ || chunk->chunk_length < 0
- || chunk->total_length >= MAX_ATTRIBUTE_BLOCK
- || chunk->offset < 0
-+ || chunk->offset > chunk->total_length /* necessary check on 32 bit systems */
-+ || chunk->chunk_length > chunk->total_length
- || chunk->offset + chunk->chunk_length > chunk->total_length
- || (chunk->offset != 0
- && chunk->total_length != pplayer->attribute_block_buffer.length)) {