[CELT-dev] Celt allocation bugfix

Gregory Maxwell greg at xiph.org
Tue Oct 28 18:41:05 PDT 2008

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 

More information about the celt-dev mailing list