summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-03-19 21:34:29 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-03-19 21:34:29 +0000
commitd0cec2fcee81778efe22ed47ec8de104cbb4b61e (patch)
tree12f87806aa701ff535deca1a2f553523ca9905f7 /games-action/bzflag/files
parentStable on alpha wrt bug #126364 (diff)
downloadgentoo-2-d0cec2fcee81778efe22ed47ec8de104cbb4b61e.tar.gz
gentoo-2-d0cec2fcee81778efe22ed47ec8de104cbb4b61e.tar.bz2
gentoo-2-d0cec2fcee81778efe22ed47ec8de104cbb4b61e.zip
Fix for bug #125647.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'games-action/bzflag/files')
-rw-r--r--games-action/bzflag/files/bzflag-2.0.4.20050930-callsignfix.patch15
-rw-r--r--games-action/bzflag/files/digest-bzflag-2.0.4.20050930-r13
2 files changed, 18 insertions, 0 deletions
diff --git a/games-action/bzflag/files/bzflag-2.0.4.20050930-callsignfix.patch b/games-action/bzflag/files/bzflag-2.0.4.20050930-callsignfix.patch
new file mode 100644
index 000000000000..2a0d0a1411b2
--- /dev/null
+++ b/games-action/bzflag/files/bzflag-2.0.4.20050930-callsignfix.patch
@@ -0,0 +1,15 @@
+--- src/game/PlayerInfo.cxx.original 2006-03-14 20:33:53.000000000 +0100
++++ src/game/PlayerInfo.cxx 2006-03-14 20:36:43.000000000 +0100
+@@ -108,6 +108,12 @@
+ buf = nboUnpackString(buf, email, EmailLen);
+ buf = nboUnpackString(buf, token, TokenLen);
+ buf = nboUnpackString(buf, clientVersion, VersionLen);
++
++ // terminate the strings
++ callSign[CallSignLen - 1] = '\0';
++ email[EmailLen - 1] = '\0';
++ token[TokenLen - 1] = '\0';
++ clientVersion[VersionLen - 1] = '\0';
+ cleanEMail();
+
+ DEBUG2("Player %s [%d] sent version string: %s\n",
diff --git a/games-action/bzflag/files/digest-bzflag-2.0.4.20050930-r1 b/games-action/bzflag/files/digest-bzflag-2.0.4.20050930-r1
new file mode 100644
index 000000000000..0edf52f758da
--- /dev/null
+++ b/games-action/bzflag/files/digest-bzflag-2.0.4.20050930-r1
@@ -0,0 +1,3 @@
+MD5 b91444c788996902b799f9b64efddd8f bzflag-2.0.4.20050930.tar.bz2 11251394
+RMD160 0f3b352c1f276ec53990367fff51d674c69e2402 bzflag-2.0.4.20050930.tar.bz2 11251394
+SHA256 496e8ea90bd2ae0e1f76cf160ab4c219f579d118edad345b33b3b085747e5e69 bzflag-2.0.4.20050930.tar.bz2 11251394