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