Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
7kaa
7kaa-2.14.5_overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor