Blender Git Loki

Git Commits -> Revision 0d71c0a

Revision 0d71c0a by Campbell Barton (master)
October 12, 2008, 00:51 (GMT)
fix for [#17783] problem when packing wav
"data" is aligned differently in this wave file and the buffer was read past its allocated length.

Fix this by searching for the buffer in increments of 2 (this finds the "data" for the wav file)
added a check not to allow the search to go past the buffer length, so corrupt wave files should not crash.

Commit Details:

Full Hash: 0d71c0a9af160963ddadde4a220c08c88011c25f
SVN Revision: 17035
Parent Commit: d241d0a
Lines Changed: +60, -58

3 Modified Paths:

/intern/SoundSystem/fmod/SND_FmodDevice.cpp (+1, -1) (Diff)
/intern/SoundSystem/intern/SND_Utils.cpp (+57, -55) (Diff)
/intern/SoundSystem/SND_Utils.h (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021