Use of primitiveSoundRecordSamples with a start index other than 1 could corrupt the heap if enough samples were recorded.

Name: VMMaker-eem.163
Author: eem
Time: 22 March 2010, 5:15:57 pm
UUID: 2fa86dda-e18c-48cd-bcac-856504aba8dc
Ancestors: VMMaker-ar.162

SoundPlugin: fix bounds bug in primitiveSoundRecordSamples.  The
call to snd_RecordSamplesIntoAtLength neglected to subtract the
start index from the size of the buffer to be written into.

best
Eliot