crypto/idea/i_skey.c:92: error: BUFFER_OVERRUN_L1
  Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: 6.
Showing all 5 steps of the trace


crypto/idea/i_skey.c:63:1: <Length trace>
61.   
62.   static IDEA_INT inverse(unsigned int xin);
63. > void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks)
64.   {
65.       int i;

crypto/idea/i_skey.c:63:1: Parameter `ks->data[*][*]`
61.   
62.   static IDEA_INT inverse(unsigned int xin);
63. > void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks)
64.   {
65.       int i;

crypto/idea/i_skey.c:68:5: Assignment
66.       register IDEA_INT *kt, *kf, r0, r1, r2;
67.   
68.       kt = &(ks->data[0][0]);
          ^
69.       n2s(key, kt[0]);
70.       n2s(key, kt[1]);

crypto/idea/i_skey.c:78:5: Assignment
76.       n2s(key, kt[7]);
77.   
78.       kf = kt;
          ^
79.       kt += 8;
80.       for (i = 0; i < 6; i++) {

crypto/idea/i_skey.c:92:14: Array access: Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: 6
90.           r1 = kf[6];
91.           *(kt++) = ((r0 << 9) | (r1 >> 7)) & 0xffff;
92.           r0 = kf[7];
                   ^
93.           *(kt++) = ((r1 << 9) | (r0 >> 7)) & 0xffff;
94.           r1 = kf[0];
