OSDN Git Service

An illegal teban specified for Floodgate login could crash the server.
authorbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 17 Feb 2008 10:50:40 +0000 (10:50 +0000)
committerbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 17 Feb 2008 10:50:40 +0000 (10:50 +0000)
changelog
shogi-server

index 5df3ca0..21400ec 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+2008-02-17 Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - An illegal teban specified for Floodgate login could crash the
+           server. This issue has been fixed.
+
 2008-02-16 Daigo Moriwaki <daigo at debian dot org>
 
        * [shogi-server]
index 36e933e..23dde67 100755 (executable)
@@ -685,7 +685,7 @@ class Player < BasicPlayer
           rival = nil
           if (League::Floodgate.game_name?(game_name))
             if (my_sente_str != "*")
-              write_safe(sprintf("##[ERROR] You are not allowed to specify TEBAN %s for the game %s\n"), my_sente_str, game_name)
+              write_safe(sprintf("##[ERROR] You are not allowed to specify TEBAN %s for the game %s\n", my_sente_str, game_name))
               next
             end
             @sente = nil