[Vm-dev] VMMaker-eem.163 fixes old SoundPlugin bug

Eliot Miranda eliot.miranda at gmail.com
Tue Mar 23 00:18:47 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100322/2b8ed7ab/attachment.htm


More information about the Vm-dev mailing list