crypto/rc2/rc2_skey.c:142: error: BUFFER_OVERRUN_L3
  Offset: [-1, 126] Size: 256.
Showing all 6 steps of the trace


crypto/rc2/rc2_skey.c:141:10: <Offset trace>
139.       /* copy from bytes into RC2_INT's */
140.       ki = &(key->data[63]);
141.       for (i = 127; i >= 0; i -= 2)
                ^
142.           *(ki--) = ((k[i] << 8) | k[i - 1]) & 0xffff;
143.   }

crypto/rc2/rc2_skey.c:141:10: Assignment
139.       /* copy from bytes into RC2_INT's */
140.       ki = &(key->data[63]);
141.       for (i = 127; i >= 0; i -= 2)
                ^
142.           *(ki--) = ((k[i] << 8) | k[i - 1]) & 0xffff;
143.   }

crypto/rc2/rc2_skey.c:98:1: <Length trace>
96.    * uses a version where the bits parameter is the same as len*8
97.    */
98. > void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
99.   {
100.       int i, j;

crypto/rc2/rc2_skey.c:98:1: Parameter `key->data[*]`
96.    * uses a version where the bits parameter is the same as len*8
97.    */
98. > void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
99.   {
100.       int i, j;

crypto/rc2/rc2_skey.c:105:5: Assignment
103.       unsigned int c, d;
104.   
105.       k = (unsigned char *)&(key->data[0]);
           ^
106.       *k = 0;                     /* for if there is a zero length key */
107.   

crypto/rc2/rc2_skey.c:142:34: Array access: Offset: [-1, 126] Size: 256
140.       ki = &(key->data[63]);
141.       for (i = 127; i >= 0; i -= 2)
142.           *(ki--) = ((k[i] << 8) | k[i - 1]) & 0xffff;
                                        ^
143.   }
144.   
