crypto/rsa/rsa_gen.c:178: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_mul`.
Showing all 10 steps of the trace


crypto/rsa/rsa_gen.c:88:1: Parameter `rsa->n->d`
86.   }
87.   
88. > static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value,
89.                                 BN_GENCB *cb)
90.   {

crypto/rsa/rsa_gen.c:178:10: Call
176.   
177.       /* calculate n */
178.       if (!BN_mul(rsa->n, rsa->p, rsa->q, ctx))
                ^
179.           goto err;
180.   

crypto/bn/bn_mul.c:911:19: Call
  909.       BN_CTX_start(ctx);
  910.       if ((r == a) || (r == b)) {
  911.           if ((rr = BN_CTX_get(ctx)) == NULL)
                           ^
  912.               goto err;
  913.       } else

crypto/bn/bn_ctx.c:284:5: Call
    282.       }
    283.       /* OK, make sure the returned bignum is "zero" */
    284.       BN_zero(ret);
               ^
    285.       ctx->used++;
    286.       CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:530:1: Parameter `*a->d`
      528.   }
      529.   
      530. > int BN_set_word(BIGNUM *a, BN_ULONG w)
      531.   {
      532.       bn_check_top(a);

crypto/bn/bn_mul.c:1029:9: Call
  1027.       bn_correct_top(rr);
  1028.       if (r != rr)
  1029.           BN_copy(r, rr);
                  ^
  1030.       ret = 1;
  1031.    err:

crypto/bn/bn_lib.c:429:1: <Length trace>
427.   }
428.   
429. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
430.   {
431.       int i;

crypto/bn/bn_lib.c:429:1: Parameter `*b->d`
    427.   }
    428.   
    429. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
    430.   {
    431.       int i;

crypto/bn/bn_lib.c:444:5: Assignment
    442.   #if 1
    443.       A = a->d;
    444.       B = b->d;
               ^
    445.       for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {
    446.           BN_ULONG a0, a1, a2, a3;

crypto/bn/bn_lib.c:450:14: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_mul` 
    448.           a1 = B[1];
    449.           a2 = B[2];
    450.           a3 = B[3];
                        ^
    451.           A[0] = a0;
    452.           A[1] = a1;
