Commit MetaInfo

Revisionb032b19ca17d9d73e4eb951d075b5caf4fbf455f (tree)
Time2007-09-26 11:53:18
AuthorBrad Carney <bmc431@gmai...>
CommiterBrad Carney

Log Message

- Fixed vulnerability that allowed clients to be crashed by another playing saying a very long chat string.

SVN r761 (beta4-2_b)

Change Summary

Incremental Difference

diff -r d2f4f28f119e -r b032b19ca17d docs/Skulltag Version History.txt
--- a/docs/Skulltag Version History.txt Tue Sep 25 20:42:49 2007 +0000
+++ b/docs/Skulltag Version History.txt Wed Sep 26 02:53:18 2007 +0000
@@ -14,7 +14,8 @@
1414 v0.97d-beta4.2
1515 --------------
1616
17-*- - Fixed vulnerablity that allowed servers and clients to be crashed be a remote party. [Carnevil]
17+*- - Fixed vulnerability that allowed servers to be crashed be a remote party. [Carnevil]
18+*- - Fixed vulnerability that allowed clients to be crashed by another playing saying a very long chat string. [Carnevil]
1819 *- - Fixed a crash that would occur frequently in game modes in which the map experiences a map reset at some point (LMS, duel, survival, etc.). [Carnevil]
1920 - - Players no longer lose their team affiliation when they die in team LMS. [Carnevil]
2021
diff -r d2f4f28f119e -r b032b19ca17d src/chat.cpp
--- a/src/chat.cpp Tue Sep 25 20:42:49 2007 +0000
+++ b/src/chat.cpp Wed Sep 26 02:53:18 2007 +0000
@@ -378,7 +378,6 @@
378378 {
379379 ULONG ulChatLevel;
380380 char szChatHeader[64];
381- char szChatString[256];
382381
383382 // If ulPlayer == MAXPLAYERS, it is the server talking.
384383 if ( ulPlayer == MAXPLAYERS )
@@ -439,7 +438,6 @@
439438 if ( show_messages )
440439 S_Sound( CHAN_VOICE, gameinfo.chatSound, 1, ATTN_NONE );
441440
442- sprintf( szChatString, "%s%s", szChatHeader, pszString );
443441 BOTCMD_SetLastChatString( pszString );
444442 BOTCMD_SetLastChatPlayer( players[ulPlayer].userinfo.netname );
445443
diff -r d2f4f28f119e -r b032b19ca17d src/version.h
--- a/src/version.h Tue Sep 25 20:42:49 2007 +0000
+++ b/src/version.h Wed Sep 26 02:53:18 2007 +0000
@@ -63,7 +63,8 @@
6363 // NETGAMEVERSION 003 = 0.97c2
6464 // NETGAMEVERSION 004 = 0.97c3
6565 // NETGAMEVERSION 005 = 0.97d-beta4
66-#define NETGAMEVERSION 005
66+// NETGAMEVERSION 006 = 0.97d-beta4.2
67+#define NETGAMEVERSION 006
6768
6869 // Version stored in the ini's [LastRun] section.
6970 // Bump it if you made some configuration change that you want to
Show on old repository browser