James-Jones/HLSLCrossCompiler — pull request #2 by Corillian (2013-04-11 06:14:07+00:00)
Title: Fixed memory corruption

When allocating space for an array of ClassInstance's an array of
ClassType was allocated instead and implicitly cast from void* to
ClassInstance* (boo C implicit cast from void*). ClassType is smaller
than ClassInstance therefore the allocated array is too small and
writing the full array results in memory corruption.