crypto/ec/ec2_smpl.c:739: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_copy`.
Showing all 10 steps of the trace


crypto/ec/ec2_smpl.c:732:9: Call
730.   
731.       BN_CTX_start(ctx);
732.       x = BN_CTX_get(ctx);
               ^
733.       y = BN_CTX_get(ctx);
734.       if (y == NULL)

crypto/bn/bn_ctx.c:275:5: Call
  273.       }
  274.       /* OK, make sure the returned bignum is "zero" */
  275.       BN_zero(ret);
             ^
  276.       ctx->used++;
  277.       CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:520:1: Parameter `*a->d`
    518.   }
    519.   
    520. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    521.   {
    522.       bn_check_top(a);

crypto/bn/bn_lib.c:523:9: Call
    521.   {
    522.       bn_check_top(a);
    523.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    524.           return (0);
    525.       a->neg = 0;

crypto/bn/bn_lcl.h:777:1: Parameter `*a->d`
      775.   int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits, BN_CTX *ctx);
      776.   
      777. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
      778.   {
      779.       if (bits > (INT_MAX - BN_BITS2 + 1))

crypto/ec/ec2_smpl.c:739:10: Call
737.       if (!EC_POINT_get_affine_coordinates_GF2m(group, point, x, y, ctx))
738.           goto err;
739.       if (!BN_copy(point->X, x))
                ^
740.           goto err;
741.       if (!BN_copy(point->Y, y))

crypto/bn/bn_lib.c:419:1: <Length trace>
417.   }
418.   
419. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
420.   {
421.       int i;

crypto/bn/bn_lib.c:419:1: Parameter `*b->d`
  417.   }
  418.   
  419. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
  420.   {
  421.       int i;

crypto/bn/bn_lib.c:434:5: Assignment
  432.   #if 1
  433.       A = a->d;
  434.       B = b->d;
             ^
  435.       for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {
  436.           BN_ULONG a0, a1, a2, a3;

crypto/bn/bn_lib.c:440:14: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_copy` 
  438.           a1 = B[1];
  439.           a2 = B[2];
  440.           a3 = B[3];
                      ^
  441.           A[0] = a0;
  442.           A[1] = a1;
