crypto/rsa/rsa_ossl.c:634: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_MONT_CTX_set_locked`.
Showing all 9 steps of the trace


crypto/rsa/rsa_ossl.c:622:15: Call
620.            * BN_FLG_CONSTTIME flag
621.            */
622.           if (!(BN_with_flags(factor, rsa->p, BN_FLG_CONSTTIME),
                     ^
623.                 BN_MONT_CTX_set_locked(&rsa->_method_mod_p, rsa->lock,
624.                                        factor, ctx))

crypto/bn/bn_lib.c:883:1: Parameter `*b->d`
  881.   }
  882.   
  883. > void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags)
  884.   {
  885.       dest->d = b->d;

crypto/bn/bn_lib.c:885:5: Assignment
  883.   void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags)
  884.   {
  885.       dest->d = b->d;
             ^
  886.       dest->top = b->top;
  887.       dest->dmax = b->dmax;

crypto/rsa/rsa_ossl.c:634:18: Call
632.               pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i);
633.               BN_with_flags(factor, pinfo->r, BN_FLG_CONSTTIME);
634.               if (!BN_MONT_CTX_set_locked(&pinfo->m, rsa->lock, factor, ctx)) {
                        ^
635.                   BN_free(factor);
636.                   goto err;

crypto/bn/bn_mont.c:428:1: Parameter `*mod->d`
  426.   }
  427.   
  428. > BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock,
  429.                                       const BIGNUM *mod, BN_CTX *ctx)
  430.   {

crypto/bn/bn_mont.c:450:10: Call
  448.       if (ret == NULL)
  449.           return NULL;
  450.       if (!BN_MONT_CTX_set(ret, mod, ctx)) {
                  ^
  451.           BN_MONT_CTX_free(ret);
  452.           return NULL;

crypto/bn/bn_mont.c:263:1: <Length trace>
261.   }
262.   
263. > int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
264.   {
265.       int i, ret = 0;

crypto/bn/bn_mont.c:263:1: Parameter `*mod->d`
    261.   }
    262.   
    263. > int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
    264.   {
    265.       int i, ret = 0;

crypto/bn/bn_mont.c:345:18: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_MONT_CTX_set_locked` 
    343.               goto err;           /* R */
    344.   
    345.           buf[0] = mod->d[0];     /* tmod = N mod word size */
                            ^
    346.           buf[1] = 0;
    347.           tmod.top = buf[0] != 0 ? 1 : 0;
