In some conditions (sample rate, frame size, bytes per frame, audio data) the CELT allocator may run out of bits and attempt to place a negative number of pulses in a band. This causes an array underrun and other assorted nastyness. Patch attached. (It should also apply cleanly to 0.5.0 which is also impacted by this bug). -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-In-some-conditions-the-allocation-could-run-out-of-b.patch Type: text/x-patch Size: 1477 bytes Desc: not available Url : http://lists.xiph.org/pipermail/opus/attachments/20081028/77d82cc5/attachment-0002.bin
Gregory Maxwell a ?crit :> In some conditions (sample rate, frame size, bytes per frame, audio > data) the CELT allocator may run out of bits and attempt to place a > negative number of pulses in a band. This causes an array underrun and > other assorted nastyness. Patch attached. (It should also apply > cleanly to 0.5.0 which is also impacted by this bug).Thanks a lot for the patch. It's applied/pushed now. Note to all, If you're using 0.5.0, make sure you apply this patch. Version 0.4.0 and earlier aren't affected. Cheers, Jean-Marc