shithub: choc

Download patch

ref: 645e33ef2522d402cc11f7f5252abc27819c4d66
parent: a9996b41e954d85fde5ec5188bbf6a7f4df88011
author: Simon Howard <[email protected]>
date: Mon Feb 14 15:40:23 EST 2011

Increase buffer size to 32 to fix overflow (thanks Quasar).

Subversion-branch: /branches/raven-branch
Subversion-revision: 2267

--- a/src/m_controls.c
+++ b/src/m_controls.c
@@ -303,7 +303,7 @@
 
 void M_BindChatControls(unsigned int num_players)
 {
-    char name[20];
+    char name[32];
     int i;
 
     M_BindVariable("key_multi_msg",     &key_multi_msg);