From 80119a3b71daf90a100191d08db1e16150acbc31 Mon Sep 17 00:00:00 2001 From: black Date: Fri, 19 Dec 2003 16:46:48 +0000 Subject: [PATCH] Fixed the crash that occured when the commandline got "too long". git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3743 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 2 +- todo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console.c b/console.c index a9661cff..fa4a58dc 100644 --- a/console.c +++ b/console.c @@ -467,7 +467,7 @@ Modified by EvilTypeGuy eviltypeguy@qeradiant.com */ void Con_DrawInput (void) { - char editlinecopy[256], *text; + char editlinecopy[257], *text; if (!key_consoleactive) return; // don't draw anything diff --git a/todo b/todo index 2376e73c..7196b9b7 100644 --- a/todo +++ b/todo @@ -35,6 +35,7 @@ -n darkplaces: server is starting before the "port" cvar is set by commandline and scripts? (yummyluv) -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv) -n dpmod: make grapple off-hand (joe hill) +-n darkplaces: crashes if you type too long a command line in the console (SeienAbunae) 2 darkplaces: add lan searching to the server browser and related code (Vermeulen) 4 darkplaces: use larger of model box or collision box for linking into areagrid so that bullet tracing can use the model bounding box instead of the collision one? (Urre) 2 darkplaces: use model box size for SOLID_BSP objects in areagrid linking and such, just for optimal consistency. @@ -74,7 +75,6 @@ f darkplaces: change particle() macro in cl_particles.c to have a do{}while(0) t 0 darkplaces: cl_particles_maximum cvar (default 32768) which would change number of particles allowed at once (TheBeast) 0 darkplaces: clean up the DrawQ_ blendfunc handling, instead of taking DRAWFLAG_ADDITIVE they should take blendfunc values (Black) 0 darkplaces: client colors are being reset to "15 15" each level in prydon gate? (FrikaC) -0 darkplaces: crashes if you type too long a command line in the console (SeienAbunae) 0 darkplaces: darkplaces-glx -path transfusion crashes, fix the crash even though it's not going to work anyway (Todd) 0 darkplaces: delay "connect" and "playdemo" and "timedemo" until after video init to cause quicker video startup (KrimZon) 0 darkplaces: document the TEI stuff used in Nexuiz? check telejano site first (SeienAbunae) -- 2.39.2