crypto/des/destest.c:859: error: BUFFER_OVERRUN_L2
  Offset: [-5, 24] Size: 16 by call to `des_cfb64_encrypt`.
Showing all 10 steps of the trace


crypto/des/destest.c:851:1: Array declaration
849.   	}
850.   
851. > static int cfb64_test(unsigned char *cfb_cipher)
852.   	{
853.   	des_key_schedule ks;

crypto/des/destest.c:859:2: Call
857.   	memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv));
858.   	n=0;
859.   	des_cfb64_encrypt(plain,cfb_buf1,12,ks,&cfb_tmp,&n,DES_ENCRYPT);
        ^
860.   	des_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),sizeof(plain)-12,ks,
861.   			  &cfb_tmp,&n,DES_ENCRYPT);

crypto/des/cfb64enc.c:66:1: Parameter `*schedule`
  64.    */
  65.   
  66. > void des_cfb64_encrypt(const unsigned char *in, unsigned char *out,
  67.   	     long length, des_key_schedule schedule, des_cblock *ivec,
  68.   	     int *num, int enc)

crypto/des/cfb64enc.c:85:5: Call
  83.   				c2l(iv,v0); ti[0]=v0;
  84.   				c2l(iv,v1); ti[1]=v1;
  85.   				des_encrypt(ti,schedule,DES_ENCRYPT);
            ^
  86.   				iv = &(*ivec)[0];
  87.   				v0=ti[0]; l2c(v0,iv);

crypto/des/des_enc.c:139:8: <Offset trace>
137.   		D_ENCRYPT(r,l, 0); /*  1 */
138.   #else
139.   		for (i=30; i>0; i-=8)
              ^
140.   			{
141.   			D_ENCRYPT(l,r,i-0); /* 16 */

crypto/des/des_enc.c:139:8: Assignment
    137.   		D_ENCRYPT(r,l, 0); /*  1 */
    138.   #else
    139.   		for (i=30; i>0; i-=8)
                  ^
    140.   			{
    141.   			D_ENCRYPT(l,r,i-0); /* 16 */

crypto/des/des_enc.c:61:1: <Length trace>
59.   #include "des_locl.h"
60.   
61. > void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
62.   	{
63.   	register DES_LONG l,r,t,u;

crypto/des/des_enc.c:61:1: Parameter `*ks`
    59.   #include "des_locl.h"
    60.   
    61. > void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
    62.   	{
    63.   	register DES_LONG l,r,t,u;

crypto/des/des_enc.c:87:2: Assignment
    85.   	l=ROTATE(l,29)&0xffffffffL;
    86.   
    87.   	s=(DES_LONG *)ks;
           ^
    88.   	/* I don't know if it is worth the effort of loop unrolling the
    89.   	 * inner loop */

crypto/des/des_enc.c:144:4: Array access: Offset: [-5, 24] Size: 16 by call to `des_cfb64_encrypt` 
    142.   			D_ENCRYPT(r,l,i-2); /* 15 */
    143.   			D_ENCRYPT(l,r,i-4); /* 14 */
    144.   			D_ENCRYPT(r,l,i-6); /* 13 */
              ^
    145.   			}
    146.   #endif
