crypto/ec/ec2_mult.c:271: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_GF2m_add`.
Showing all 13 steps of the trace


crypto/ec/ec2_mult.c:259:12: Call
257.       if (bn_wexpand(x1, group_top) == NULL
258.           || bn_wexpand(z1, group_top) == NULL
259.           || bn_wexpand(x2, group_top) == NULL
                  ^
260.           || bn_wexpand(z2, group_top) == NULL)
261.           goto err;

crypto/bn/bn_lib.c:1016:1: Parameter `*a->d`
  1014.   }
  1015.   
  1016. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
  1017.   {
  1018.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/ec/ec2_mult.c:271:10: Call
269.       if (!group->meth->field_sqr(group, x2, z2, ctx))
270.           goto err;
271.       if (!BN_GF2m_add(x2, x2, group->b))
                ^
272.           goto err;               /* x2 = x^4 + b */
273.   

crypto/bn/bn_gf2m.c:260:1: Parameter `*r->d`
  258.    * could be equal; r is the bitwise XOR of a and b.
  259.    */
  260. > int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
  261.   {
  262.       int i;

crypto/bn/bn_gf2m.c:276:9: Call
  274.       }
  275.   
  276.       if (bn_wexpand(r, at->top) == NULL)
                 ^
  277.           return 0;
  278.   

crypto/bn/bn_lib.c:1016:1: Parameter `*a->d`
    1014.   }
    1015.   
    1016. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
    1017.   {
    1018.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/bn/bn_lib.c:1018:37: Call
    1016.   BIGNUM *bn_wexpand(BIGNUM *a, int words)
    1017.   {
    1018.       return (words <= a->dmax) ? a : bn_expand2(a, words);
                                                ^
    1019.   }
    1020.   

crypto/bn/bn_lib.c:323:1: Parameter `*b->d`
      321.    */
      322.   
      323. > BIGNUM *bn_expand2(BIGNUM *b, int words)
      324.   {
      325.       bn_check_top(b);

crypto/bn/bn_lib.c:328:23: Call
      326.   
      327.       if (words > b->dmax) {
      328.           BN_ULONG *a = bn_expand_internal(b, words);
                                   ^
      329.           if (!a)
      330.               return NULL;

crypto/bn/bn_lib.c:246:1: <Length trace>
244.   /* This is used by bn_expand2() */
245.   /* The caller MUST check that words > b->dmax before calling this */
246. > static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
247.   {
248.       BN_ULONG *A, *a = NULL;

crypto/bn/bn_lib.c:246:1: Parameter `*b->d`
        244.   /* This is used by bn_expand2() */
        245.   /* The caller MUST check that words > b->dmax before calling this */
        246. > static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
        247.   {
        248.       BN_ULONG *A, *a = NULL;

crypto/bn/bn_lib.c:272:5: Assignment
        270.   
        271.   #if 1
        272.       B = b->d;
                   ^
        273.       /* Check if the previous number needs to be copied */
        274.       if (B != NULL) {

crypto/bn/bn_lib.c:289:18: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_GF2m_add` 
        287.               a1 = B[1];
        288.               a2 = B[2];
        289.               a3 = B[3];
                                ^
        290.               A[0] = a0;
        291.               A[1] = a1;
