r703 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Apr 14 16:15:58 EDT 2006


Author: tma
Date: 2006-04-14 16:15:58 -0400 (Fri, 14 Apr 2006)
New Revision: 703

Modified:
   trunk/code/renderer/tr_shade_calc.c
Log:
* Fix to (static!) buffer overflow in renderer (from Thilo Schulz)


Modified: trunk/code/renderer/tr_shade_calc.c
===================================================================
--- trunk/code/renderer/tr_shade_calc.c	2006-04-14 20:13:49 UTC (rev 702)
+++ trunk/code/renderer/tr_shade_calc.c	2006-04-14 20:15:58 UTC (rev 703)
@@ -619,7 +619,7 @@
 {
 	int	i;
 	int *pColors = ( int * ) dstColors;
-	unsigned char invModulate[3];
+	unsigned char invModulate[4];
 	int c;
 
 	if ( !backEnd.currentEntity )




More information about the quake3-commits mailing list