test/ectest.c:422: error: BUFFER_OVERRUN_L3
  Offset added: 8 Size: [0, 67108856] by call to `EC_GROUP_set_generator`.
Showing all 12 steps of the trace


test/ectest.c:422:46: Call
420.       if (!BN_hex2bn(&z, "0100000000000000000001F4C8F927AED3CA752257"))
421.           ABORT;
422.       if (!EC_GROUP_set_generator(group, P, z, BN_value_one()))
                                                    ^
423.           ABORT;
424.   

crypto/bn/bn_lib.c:84:9: Assignment
  82.       static const BN_ULONG data_one = 1L;
  83.       static const BIGNUM const_one =
  84.           { (BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA };
                ^
  85.   
  86.       return (&const_one);

test/ectest.c:422:10: Call
420.       if (!BN_hex2bn(&z, "0100000000000000000001F4C8F927AED3CA752257"))
421.           ABORT;
422.       if (!EC_GROUP_set_generator(group, P, z, BN_value_one()))
                ^
423.           ABORT;
424.   

crypto/ec/ec_lib.c:269:1: Parameter `cofactor->top`
  267.   }
  268.   
  269. > int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
  270.                              const BIGNUM *order, const BIGNUM *cofactor)
  271.   {

crypto/ec/ec_lib.c:292:14: Call
  290.   
  291.       if (cofactor != NULL) {
  292.           if (!BN_copy(group->cofactor, cofactor))
                      ^
  293.               return 0;
  294.       } else

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

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

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

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

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

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

crypto/bn/bn_lib.c:331:5: Array access: Offset added: 8 Size: [0, 67108856] by call to `EC_GROUP_set_generator` 
    329.           return NULL;
    330.   
    331.       memcpy(a->d, b->d, sizeof(b->d[0]) * b->top);
               ^
    332.   
    333.       a->top = b->top;
