going past size of array caused memory corruption.
Authored by: SumolX 2009-06-04
Parent: [r2316]
Child: [r2318]