From 275b73aa64da7c4b5083216d273877380ceebe73 Mon Sep 17 00:00:00 2001 From: tma Date: Mon, 19 Sep 2005 17:45:29 +0000 Subject: * Fix to multiple buffer overflow bugs in CL_Rcon_f * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/q3_ui/ui_players.c | 1 + 1 file changed, 1 insertion(+) (limited to 'code/q3_ui') diff --git a/code/q3_ui/ui_players.c b/code/q3_ui/ui_players.c index 547fa97..b1462b8 100644 --- a/code/q3_ui/ui_players.c +++ b/code/q3_ui/ui_players.c @@ -943,6 +943,7 @@ static qboolean UI_ParseAnimationFile( const char *filename, animation_t *animat } if ( len >= ( sizeof( text ) - 1 ) ) { Com_Printf( "File %s too long\n", filename ); + trap_FS_FCloseFile( f ); return qfalse; } trap_FS_Read( text, len, f ); -- cgit v1.2.3