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


crypto/ec/ecp_smpl.c:677:10: Call
675.   
676.       BN_CTX_start(ctx);
677.       n0 = BN_CTX_get(ctx);
                ^
678.       n1 = BN_CTX_get(ctx);
679.       n2 = BN_CTX_get(ctx);

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/ecp_smpl.c:717:14: Call
715.       /* n3, n4 */
716.       if (a->Z_is_one) {
717.           if (!BN_copy(n3, b->X))
                    ^
718.               goto end;
719.           if (!BN_copy(n4, b->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 `*a->d`
  417.   }
  418.   
  419. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
  420.   {
  421.       int i;

crypto/bn/bn_lib.c:429:9: Call
  427.       if (a == b)
  428.           return (a);
  429.       if (bn_wexpand(a, b->top) == NULL)
                 ^
  430.           return (NULL);
  431.   

crypto/bn/bn_lib.c:1071:1: Parameter `*a->d`
    1069.   }
    1070.   
    1071. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
    1072.   {
    1073.       return (words <= a->dmax) ? a : bn_expand2(a, words);

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

crypto/bn/bn_lib.c:444:9: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_copy` 
  442.           A[1] = a1;
  443.           A[2] = a2;
  444.           A[3] = a3;
                 ^
  445.       }
  446.       /* ultrix cc workaround, see comments in bn_expand_internal */
