From 7412a40a636b043240342a76c026b266bac25c82 Mon Sep 17 00:00:00 2001
From: divverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Sun, 1 Apr 2012 13:45:58 +0000
Subject: [PATCH] fix out of buffer access in snd_3dras

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11783 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=318d016de32da5ed57d9347a43692d09f1877509
---
 snd_3dras.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
2.39.5