* 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
This commit is contained in:
parent
b185817285
commit
33a48a0336
9 changed files with 26 additions and 19 deletions
|
@ -1040,6 +1040,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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue