crypto/idea/i_cbc.c:167: error: BUFFER_OVERRUN_L1
  Offset: 51 Size: 6.
Showing all 55 steps of the trace


crypto/idea/i_cbc.c:138:1: <Length trace>
136.   }
137.   
138. > void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key)
139.   {
140.       register IDEA_INT *p;

crypto/idea/i_cbc.c:138:1: Parameter `key->data[*][*]`
136.   }
137.   
138. > void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key)
139.   {
140.       register IDEA_INT *p;

crypto/idea/i_cbc.c:148:5: Assignment
146.       x3 = (x4 >> 16);
147.   
148.       p = &(key->data[0][0]);
           ^
149.   
150.       E_IDEA(0);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:150:5: Assignment
148.       p = &(key->data[0][0]);
149.   
150.       E_IDEA(0);
           ^
151.       E_IDEA(1);
152.       E_IDEA(2);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:151:5: Assignment
149.   
150.       E_IDEA(0);
151.       E_IDEA(1);
           ^
152.       E_IDEA(2);
153.       E_IDEA(3);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:152:5: Assignment
150.       E_IDEA(0);
151.       E_IDEA(1);
152.       E_IDEA(2);
           ^
153.       E_IDEA(3);
154.       E_IDEA(4);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:153:5: Assignment
151.       E_IDEA(1);
152.       E_IDEA(2);
153.       E_IDEA(3);
           ^
154.       E_IDEA(4);
155.       E_IDEA(5);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:154:5: Assignment
152.       E_IDEA(2);
153.       E_IDEA(3);
154.       E_IDEA(4);
           ^
155.       E_IDEA(5);
156.       E_IDEA(6);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:155:5: Assignment
153.       E_IDEA(3);
154.       E_IDEA(4);
155.       E_IDEA(5);
           ^
156.       E_IDEA(6);
157.       E_IDEA(7);

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:156:5: Assignment
154.       E_IDEA(4);
155.       E_IDEA(5);
156.       E_IDEA(6);
           ^
157.       E_IDEA(7);
158.   

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:157:5: Assignment
155.       E_IDEA(5);
156.       E_IDEA(6);
157.       E_IDEA(7);
           ^
158.   
159.       x1 &= 0xffff;

crypto/idea/i_cbc.c:161:5: Assignment
159.       x1 &= 0xffff;
160.       idea_mul(x1, x1, *p, ul);
161.       p++;
           ^
162.   
163.       t0 = x3 + *(p++);

crypto/idea/i_cbc.c:163:17: Assignment
161.       p++;
162.   
163.       t0 = x3 + *(p++);
                       ^
164.       t1 = x2 + *(p++);
165.   

crypto/idea/i_cbc.c:164:17: Assignment
162.   
163.       t0 = x3 + *(p++);
164.       t1 = x2 + *(p++);
                       ^
165.   
166.       x4 &= 0xffff;

crypto/idea/i_cbc.c:167:5: Array access: Offset: 51 Size: 6
165.   
166.       x4 &= 0xffff;
167.       idea_mul(x4, x4, *p, ul);
           ^
168.   
169.       d[0] = (t0 & 0xffff) | ((x1 & 0xffff) << 16);

void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key)
{
    register IDEA_INT *p;
    register unsigned long x1, x2, x3, x4, t0, t1, ul;
    x2 = d[0];
    x1 = (x2 >> 16);
    x4 = d[1];
    x3 = (x4 >> 16);
    p = &(key->data[0][0]);
    E_IDEA(0);
    E_IDEA(1);
    E_IDEA(2);
    E_IDEA(3);
    E_IDEA(4);
    E_IDEA(5);
    E_IDEA(6);
    E_IDEA(7);
    x1 &= 0xffff;
    idea_mul(x1, x1, *p, ul);
    p++;
    t0 = x3 + *(p++);
    t1 = x2 + *(p++);
    x4 &= 0xffff;
    idea_mul(x4, x4, *p, ul);
    d[0] = (t0 & 0xffff) | ((x1 & 0xffff) << 16);
    d[1] = (x4 & 0xffff) | ((t1 & 0xffff) << 16);
}
['void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key)\n{\n    register IDEA_INT *p;\n    register unsigned long x1, x2, x3, x4, t0, t1, ul;\n    x2 = d[0];\n    x1 = (x2 >> 16);\n    x4 = d[1];\n    x3 = (x4 >> 16);\n    p = &(key->data[0][0]);\n    E_IDEA(0);\n    E_IDEA(1);\n    E_IDEA(2);\n    E_IDEA(3);\n    E_IDEA(4);\n    E_IDEA(5);\n    E_IDEA(6);\n    E_IDEA(7);\n    x1 &= 0xffff;\n    idea_mul(x1, x1, *p, ul);\n    p++;\n    t0 = x3 + *(p++);\n    t1 = x2 + *(p++);\n    x4 &= 0xffff;\n    idea_mul(x4, x4, *p, ul);\n    d[0] = (t0 & 0xffff) | ((x1 & 0xffff) << 16);\n    d[1] = (x4 & 0xffff) | ((t1 & 0xffff) << 16);\n}']