[CELT-dev] (no subject)
Gregory Maxwell
gmaxwell at gmail.com
Thu Jul 1 13:05:19 PDT 2010
On Thu, Jul 1, 2010 at 3:58 PM, Mike Hooper <mihooper at bellsouth.net> wrote:
> Jean-Mark, Tim,
> Could either of you expound on the following comment in cwrs.c?
> /*If _k==0, the following do-while loop will overflow the buffer.*/
> ----------------------------------------------------------------
> ...because the following do-loop does overflow the buffer when k=126
> k=2;
>
> do _u[k]=(k<<1)-1;
> while(++k<len);
Have you correctly set the relevant allocation defines for your system?
Are you using C99 var-arrays, alloca, or the application managed pseudo-stack?
More information about the celt-dev
mailing list