crypto/bn/bn_recp.c:69: error: BUFFER_OVERRUN_L3
  Offset: [1, +oo] Size: [0, 8388607] by call to `BN_mul`.
Showing all 14 steps of the trace


crypto/bn/bn_recp.c:62:14: Call
60.   
61.       BN_CTX_start(ctx);
62.       if ((a = BN_CTX_get(ctx)) == NULL)
                   ^
63.           goto err;
64.       if (y != NULL) {

crypto/bn/bn_ctx.c:229:5: Call
  227.       }
  228.       /* OK, make sure the returned bignum is "zero" */
  229.       BN_zero(ret);
             ^
  230.       ctx->used++;
  231.       CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:463:1: Parameter `*a->d`
    461.   }
    462.   
    463. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    464.   {
    465.       bn_check_top(a);

crypto/bn/bn_lib.c:466:9: Call
    464.   {
    465.       bn_check_top(a);
    466.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    467.           return (0);
    468.       a->neg = 0;

crypto/bn/bn_lcl.h:676:1: Parameter `*a->d`
      674.   int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits, BN_CTX *ctx);
      675.   
      676. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
      677.   {
      678.       if (bits > (INT_MAX - BN_BITS2 + 1))

crypto/bn/bn_recp.c:69:18: Call
67.                   goto err;
68.           } else {
69.               if (!BN_mul(a, x, y, ctx))
                       ^
70.                   goto err;
71.           }

crypto/bn/bn_mul.c:880:13: Assignment
  878.               if (bn_wexpand(rr, 16) == NULL)
  879.                   goto err;
  880.               rr->top = 16;
                     ^
  881.               bn_mul_comba8(rr->d, a->d, b->d);
  882.               goto end;

crypto/bn/bn_mul.c:973:5: Call
  971.    end:
  972.   #endif
  973.       bn_correct_top(rr);
             ^
  974.       if (r != rr)
  975.           BN_copy(r, rr);

crypto/bn/bn_lib.c:1019:1: <Offset trace>
1017.   }
1018.   
1019. > void bn_correct_top(BIGNUM *a)
1020.   {
1021.       BN_ULONG *ftl;

crypto/bn/bn_lib.c:1019:1: Parameter `a->top`
    1017.   }
    1018.   
    1019. > void bn_correct_top(BIGNUM *a)
    1020.   {
    1021.       BN_ULONG *ftl;

crypto/bn/bn_lib.c:1022:5: Assignment
    1020.   {
    1021.       BN_ULONG *ftl;
    1022.       int tmp_top = a->top;
                ^
    1023.   
    1024.       if (tmp_top > 0) {

crypto/bn/bn_lib.c:1019:1: <Length trace>
1017.   }
1018.   
1019. > void bn_correct_top(BIGNUM *a)
1020.   {
1021.       BN_ULONG *ftl;

crypto/bn/bn_lib.c:1019:1: Parameter `*a->d`
    1017.   }
    1018.   
    1019. > void bn_correct_top(BIGNUM *a)
    1020.   {
    1021.       BN_ULONG *ftl;

crypto/bn/bn_lib.c:1025:14: Array access: Offset: [1, +oo] Size: [0, 8388607] by call to `BN_mul` 
    1023.   
    1024.       if (tmp_top > 0) {
    1025.           for (ftl = &(a->d[tmp_top]); tmp_top > 0; tmp_top--) {
                         ^
    1026.               ftl--;
    1027.               if (*ftl != 0)
