[CELT-dev] Crash when using odd frame size

Timothy B. Terriberry tterribe at xiph.org
Wed Jan 12 12:24:55 PST 2011


Bjoern Rasmussen wrote:
> Hi
> I noticed a crash issue when I passed the following values:
> celt_mode_create(96000, 258, &e);
> CELTMode->mdct.kfft[0] is not initialized after calling clt_mdct_init() and when celt_mode_destroy() is called it tries to dereference this value in kiss_fft_free().

CELT no longer supports frame sizes which can't be factored into 2's, 
3's, and 5's (and always required at least one 2). 258 has a factor of 
43. libcelt doesn't do very good error checking for this.



More information about the celt-dev mailing list