crypto/des/str2key.c:156: error: BUFFER_OVERRUN_L2
  Offset: [-3, 26] Size: 16 by call to `des_cbc_cksum`.
Showing all 10 steps of the trace


crypto/des/str2key.c:100:1: Array declaration
98.   	}
99.   
100. > void des_string_to_2keys(const char *str, des_cblock *key1, des_cblock *key2)
101.   	{
102.   	des_key_schedule ks;

crypto/des/str2key.c:156:2: Call
154.   	des_check_key=0;
155.   	des_set_key(key1,ks);
156.   	des_cbc_cksum((unsigned char*)str,key1,length,ks,key1);
        ^
157.   	des_set_key(key2,ks);
158.   	des_cbc_cksum((unsigned char*)str,key2,length,ks,key2);

crypto/des/cbc_cksm.c:61:1: Parameter `*schedule`
  59.   #include "des_locl.h"
  60.   
  61. > DES_LONG des_cbc_cksum(const unsigned char *in, des_cblock *output,
  62.   		long length,
  63.   		des_key_schedule schedule, const_des_cblock *ivec)

crypto/des/cbc_cksm.c:85:3: Call
  83.   		tin0^=tout0; tin[0]=tin0;
  84.   		tin1^=tout1; tin[1]=tin1;
  85.   		des_encrypt((DES_LONG *)tin,schedule,DES_ENCRYPT);
          ^
  86.   		/* fix 15/10/91 eay - thanks to keithr@sco.COM */
  87.   		tout0=tin[0];

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:143:4: Array access: Offset: [-3, 26] Size: 16 by call to `des_cbc_cksum` 
    141.   			D_ENCRYPT(l,r,i-0); /* 16 */
    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.   			}
