shithub: choc

Download patch

ref: 9d60c396b5c9a86e7f189fbb2afad675f42b05b3
parent: 2c2e33f914ed6fdf149cfa41d845dca8d5f98964
author: Simon Howard <[email protected]>
date: Wed Nov 15 19:05:44 EST 2006

Increase buffer size to fixes crashes due to buffer overruns.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 754

--- a/src/net_gui.c
+++ b/src/net_gui.c
@@ -103,7 +103,7 @@
 static void UpdateGUI(void)
 {
     txt_window_action_t *startgame;
-    char buf[20];
+    char buf[50];
     unsigned int i;
 
     for (i=0; i<MAXPLAYERS; ++i)