aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-14 20:15:58 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-14 20:15:58 +0000
commit499b37c7d8f812b22db120d94772367f336e902a (patch)
treee9044a4c023c8583620c4316970d4b5ca58353a3 /code
parent41fb69060a05f80ca82bf4bd8bb0dcdb745e1ee7 (diff)
downloadioquake3-aero-499b37c7d8f812b22db120d94772367f336e902a.tar.gz
ioquake3-aero-499b37c7d8f812b22db120d94772367f336e902a.zip
* Fix to (static!) buffer overflow in renderer (from Thilo Schulz)
git-svn-id: svn://svn.icculus.org/quake3/trunk@703 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/renderer/tr_shade_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/renderer/tr_shade_calc.c b/code/renderer/tr_shade_calc.c
index 15fbe77..6f9b0be 100644
--- a/code/renderer/tr_shade_calc.c
+++ b/code/renderer/tr_shade_calc.c
@@ -619,7 +619,7 @@ void RB_CalcColorFromOneMinusEntity( unsigned char *dstColors )
{
int i;
int *pColors = ( int * ) dstColors;
- unsigned char invModulate[3];
+ unsigned char invModulate[4];
int c;
if ( !backEnd.currentEntity )