crypto/bn/bn_mod.c:198: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_nnmod`.
Showing all 14 steps of the trace


crypto/bn/bn_mod.c:189:14: Call
187.   
188.       BN_CTX_start(ctx);
189.       if ((t = BN_CTX_get(ctx)) == NULL)
                    ^
190.           goto err;
191.       if (a == b) {

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/bn/bn_mod.c:198:10: Call
196.               goto err;
197.       }
198.       if (!BN_nnmod(r, t, m, ctx))
                ^
199.           goto err;
200.       bn_check_top(r);

crypto/bn/bn_mod.c:118:1: Parameter `*m->d`
  116.   #include "bn_lcl.h"
  117.   
  118. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  119.   {
  120.       /*

crypto/bn/bn_mod.c:125:11: Call
  123.        */
  124.   
  125.       if (!(BN_mod(r, m, d, ctx)))
                   ^
  126.           return 0;
  127.       if (!r->neg)

crypto/bn/bn_div.c:188:1: Parameter `*num->d`
    186.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
    187.    */
    188. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    189.              BN_CTX *ctx)
    190.   {

crypto/bn/bn_div.c:233:17: Call
    231.       if (!no_branch && BN_ucmp(num, divisor) < 0) {
    232.           if (rm != NULL) {
    233.               if (BN_copy(rm, num) == NULL)
                           ^
    234.                   return (0);
    235.           }

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_nnmod` 
      438.           a1 = B[1];
      439.           a2 = B[2];
      440.           a3 = B[3];
                          ^
      441.           A[0] = a0;
      442.           A[1] = a1;
