crypto/ec/ec_pmeth.c:63: error: BUFFER_OVERRUN_L3
  Offset added: [8, +oo] Size: [0, 67108856] by call to `EC_GROUP_dup`.
Showing all 12 steps of the trace


crypto/ec/ec_pmeth.c:63:27: Call
61.       dctx = dst->data;
62.       if (sctx->gen_group) {
63.           dctx->gen_group = EC_GROUP_dup(sctx->gen_group);
                                ^
64.           if (!dctx->gen_group)
65.               return 0;

crypto/ec/ec_lib.c:236:1: Parameter `a->cofactor->top`
  234.   }
  235.   
  236. > EC_GROUP *EC_GROUP_dup(const EC_GROUP *a)
  237.   {
  238.       EC_GROUP *t = NULL;

crypto/ec/ec_lib.c:246:10: Call
  244.       if ((t = EC_GROUP_new(a->meth)) == NULL)
  245.           return (NULL);
  246.       if (!EC_GROUP_copy(t, a))
                  ^
  247.           goto err;
  248.   

crypto/ec/ec_lib.c:135:1: Parameter `src->cofactor->top`
    133.   }
    134.   
    135. > int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src)
    136.   {
    137.       if (dest->meth->group_copy == 0) {

crypto/ec/ec_lib.c:211:14: Call
    209.           if (!BN_copy(dest->order, src->order))
    210.               return 0;
    211.           if (!BN_copy(dest->cofactor, src->cofactor))
                        ^
    212.               return 0;
    213.       }

crypto/bn/bn_lib.c:323:1: <Offset trace>
321.   }
322.   
323. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
324.   {
325.       bn_check_top(b);

crypto/bn/bn_lib.c:323:1: Parameter `b->top`
      321.   }
      322.   
      323. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
      324.   {
      325.       bn_check_top(b);

crypto/bn/bn_lib.c:323:1: <Length trace>
321.   }
322.   
323. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
324.   {
325.       bn_check_top(b);

crypto/bn/bn_lib.c:323:1: Parameter `*a->d`
      321.   }
      322.   
      323. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
      324.   {
      325.       bn_check_top(b);

crypto/bn/bn_lib.c:329:9: Call
      327.       if (a == b)
      328.           return a;
      329.       if (bn_wexpand(a, b->top) == NULL)
                     ^
      330.           return NULL;
      331.   

crypto/bn/bn_lib.c:948:1: Parameter `*a->d`
        946.   }
        947.   
        948. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
        949.   {
        950.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/bn/bn_lib.c:333:9: Array access: Offset added: [8, +oo] Size: [0, 67108856] by call to `EC_GROUP_dup` 
      331.   
      332.       if (b->top > 0)
      333.           memcpy(a->d, b->d, sizeof(b->d[0]) * b->top);
                     ^
      334.   
      335.       a->top = b->top;
