aboutsummaryrefslogtreecommitdiff
path: root/games/quake2-source
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-03-31 02:33:20 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-03-31 02:33:20 +0000
commitf85a85df1fff9cb5ee1fcd7e19e891a953419f56 (patch)
tree2a73324c31244dfb668ee73405d577aa186de63c /games/quake2-source
parent14782b4f28808203e04c0a31506699c0686f253a (diff)
downloadports-f85a85df1fff9cb5ee1fcd7e19e891a953419f56.tar.gz
ports-f85a85df1fff9cb5ee1fcd7e19e891a953419f56.zip
Notes
Diffstat (limited to 'games/quake2-source')
-rw-r--r--games/quake2-source/files/patch-security13
1 files changed, 0 insertions, 13 deletions
diff --git a/games/quake2-source/files/patch-security b/games/quake2-source/files/patch-security
index 89934359d270..900217da8bde 100644
--- a/games/quake2-source/files/patch-security
+++ b/games/quake2-source/files/patch-security
@@ -115,19 +115,6 @@ diff -u -r1.2 sv_main.c
// force the IP key/value pair so the game can filter based on ip
Info_SetValueForKey (userinfo, "ip", NET_AdrToString(net_from));
-@@ -317,8 +318,11 @@
- {
- if (NET_CompareBaseAdr (net_from, svs.challenges[i].adr))
- {
-- if (challenge == svs.challenges[i].challenge)
-+ // sku - ignore zero challenges
-+ if( svs.challenges[i].challenge && challenge == svs.challenges[i].challenge ) {
-+ svs.challenges[i].challenge = 0;
- break; // good
-+ }
- Netchan_OutOfBandPrint (NS_SERVER, adr, "print\nBad challenge.\n");
- return;
- }
@@ -342,6 +346,11 @@
&& ( cl->netchan.qport == qport
|| adr.port == cl->netchan.remote_address.port ) )