[CELT-dev] (no subject)

Mike Hooper mihooper at bellsouth.net
Thu Jul 1 12:58:28 PDT 2010


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);

 

Thanks,

MikeH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20100701/7cb90de0/attachment-0001.htm 


More information about the celt-dev mailing list