crypto/dsa/dsa_ossl.c:305: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_mod_exp_mont`.
Showing all 10 steps of the trace


crypto/dsa/dsa_ossl.c:264:18: Call
262.                * This protects the private key from a weak PRNG.
263.                */
264.               if (!BN_generate_dsa_nonce(k, dsa->q, dsa->priv_key, dgst,
                        ^
265.                                          dlen, ctx))
266.                   goto err;

crypto/bn/bn_rand.c:299:1: Parameter `*out->d`
  297.    * used.
  298.    */
  299. > int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
  300.                             const BIGNUM *priv, const unsigned char *message,
  301.                             size_t message_len, BN_CTX *ctx)

crypto/dsa/dsa_ossl.c:305:5: Call
303.           K = k;
304.       }
305.       DSA_BN_MOD_EXP(goto err, dsa, r, dsa->g, K, dsa->p, ctx,
           ^
306.                      dsa->method_mont_p);
307.       if (!BN_mod(r, r, dsa->q, ctx))

crypto/bn/bn_exp.c:401:1: Parameter `*rr->d`
  399.   }
  400.   
  401. > int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
  402.                       const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
  403.   {

crypto/bn/bn_exp.c:413:16: Call
  411.   
  412.       if (BN_get_flags(p, BN_FLG_CONSTTIME) != 0) {
  413.           return BN_mod_exp_mont_consttime(rr, a, p, m, ctx, in_mont);
                        ^
  414.       }
  415.   

crypto/bn/bn_exp.c:655:1: Parameter `*rr->d`
    653.    * http://www.daemonology.net/hyperthreading-considered-harmful/)
    654.    */
    655. > int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
    656.                                 const BIGNUM *m, BN_CTX *ctx,
    657.                                 BN_MONT_CTX *in_mont)

crypto/bn/bn_exp.c:688:13: Call
    686.           if (BN_is_one(m)) {
    687.               ret = 1;
    688.               BN_zero(rr);
                       ^
    689.           } else {
    690.               ret = BN_one(rr);

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

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_lib.c:536:5: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_mod_exp_mont` 
      534.           return (0);
      535.       a->neg = 0;
      536.       a->d[0] = w;
                 ^
      537.       a->top = (w ? 1 : 0);
      538.       bn_check_top(a);
