From: divverent Date: Sun, 1 Apr 2012 13:45:58 +0000 (+0000) Subject: fix out of buffer access in snd_3dras X-Git-Tag: xonotic-v0.8.0~96^2~255 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=318d016de32da5ed57d9347a43692d09f1877509;p=xonotic%2Fdarkplaces.git fix out of buffer access in snd_3dras git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11783 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_3dras.c b/snd_3dras.c index 140c98fb..0619796a 100644 --- a/snd_3dras.c +++ b/snd_3dras.c @@ -598,7 +598,7 @@ int S_LoadSound(sfx_t *sfx, int complain){ void* decoder_ptr=NULL; if(ras_version>0 && ras_dll){ - fileext[4]=0; //Terminator + fileext[3]=0; //Terminator // See if already loaded if (sfx->rasptr) return true;