Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37910910
en ru br
ALT Linux repositórios
S:2.5-alt2
5.0: 2.4-alt3
4.1: 2.4-alt2

Group :: Jogos/Arcade
RPM: blockout2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: BlockOutII-2.3-format-security.patch
Download


diff -up BL_SRC/BlockOut/GLApp/GLApp.cpp~ BL_SRC/BlockOut/GLApp/GLApp.cpp
--- BL_SRC/BlockOut/GLApp/GLApp.cpp~	2014-10-27 13:40:46.000000000 +0100
+++ BL_SRC/BlockOut/GLApp/GLApp.cpp	2014-10-27 13:49:14.518436819 +0100
@@ -274,7 +274,7 @@ void GLApplication::printGlError() {
 #ifdef WINDOWS
   MessageBox(NULL, message, "Error", MB_OK | MB_ICONERROR);
 #else
-  printf(message);
+  printf("%s\n", message);
 #endif
 
 }
diff -up BL_SRC/BlockOut/PageHallOfFameOnLine.cpp~ BL_SRC/BlockOut/PageHallOfFameOnLine.cpp
--- BL_SRC/BlockOut/PageHallOfFameOnLine.cpp~	2014-05-06 11:47:54.000000000 +0200
+++ BL_SRC/BlockOut/PageHallOfFameOnLine.cpp	2014-10-27 13:51:51.157271001 +0100
@@ -60,7 +59,7 @@ void PageHallOfFameOnLine::DownloadScore
   if( page==NULL ) {
 
     downloadState = -1;
-    strcpy(errMsg,mParent->GetHttp()->GetError());
+    snprintf(errMsg, sizeof(errMsg), "%s", mParent->GetHttp()->GetError());
 
   } else {
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009