File 7kaa-2.14.5_overflow.patch of Package 7kaa

diff -ur 7kaa-2.14.5/src/client/OGAMEMP.cpp 7kaa-2.14.5_fix/src/client/OGAMEMP.cpp
--- 7kaa-2.14.5/src/client/OGAMEMP.cpp	2015-05-19 03:00:20.000000000 +0200
+++ 7kaa-2.14.5_fix/src/client/OGAMEMP.cpp	2015-09-29 17:05:01.007513932 +0200
@@ -4966,7 +4966,7 @@
 					String str;
 
 					snprintf(str,
-						 255,
+						 MAX_STR_LEN+1,
 						 ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.",
 							  "This multiplayer saved game needs %d human players while now there are only %d human players.",
 							  regPlayerCount),
@@ -5123,7 +5123,7 @@
 				String str;
 
 				snprintf(str,
-					 255,
+					 MAX_STR_LEN+1,
 					 ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.",
 						  "This multiplayer saved game needs %d human players while now there are only %d human players.",
 						  playerCount),
@@ -5141,7 +5141,7 @@
 			{
 				String str;
 
-				snprintf(str, 255, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount);
+				snprintf(str, MAX_STR_LEN+1, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount);
 
 				box.msg(str);
 				return 0;