crypto/des/destest.c:829: error: BUFFER_OVERRUN_L2
  Offset: [-4, 25] Size: 16 by call to `des_cfb_encrypt`.
Showing all 10 steps of the trace


crypto/des/destest.c:822:1: Array declaration
820.   #ifndef LIBDES_LIT
821.   
822. > static int cfb_test(int bits, unsigned char *cfb_cipher)
823.   	{
824.   	des_key_schedule ks;

crypto/des/destest.c:829:2: Call
827.   	des_key_sched(&cfb_key,ks);
828.   	memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv));
829.   	des_cfb_encrypt(plain,cfb_buf1,bits,sizeof(plain),ks,&cfb_tmp,
        ^
830.   			DES_ENCRYPT);
831.   	if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)

crypto/des/cfb_enc.c:67:1: Parameter `*schedule`
  65.    * byte.
  66.    */
  67. > void des_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
  68.   	     long length, des_key_schedule schedule, des_cblock *ivec, int enc)
  69.   	{

crypto/des/cfb_enc.c:103:4: Call
  101.   			ti[0]=v0;
  102.   			ti[1]=v1;
  103.   			des_encrypt((DES_LONG *)ti,schedule,DES_ENCRYPT);
            ^
  104.   			c2ln(in,d0,d1,n);
  105.   			in+=n;

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: [-4, 25] Size: 16 by call to `des_cfb_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
