crypto/dsa/dsa_key.c:114: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_mod_exp`.
Showing all 9 steps of the trace


crypto/dsa/dsa_key.c:75:1: Parameter `dsa->pub_key->d`
73.   }
74.   
75. > static int dsa_builtin_keygen(DSA *dsa)
76.   {
77.       int ok = 0;

crypto/dsa/dsa_key.c:114:14: Call
112.           }
113.   
114.           if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx)) {
                    ^
115.               BN_free(local_prk);
116.               goto err;

crypto/bn/bn_exp.c:191:1: Parameter `*r->d`
  189.   }
  190.   
  191. > int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
  192.                  BN_CTX *ctx)
  193.   {

crypto/bn/bn_exp.c:248:19: Call
  246.               && (BN_get_flags(p, BN_FLG_CONSTTIME) == 0)) {
  247.               BN_ULONG A = a->d[0];
  248.               ret = BN_mod_exp_mont_word(r, A, p, m, ctx, NULL);
                           ^
  249.           } else
  250.   # endif

crypto/bn/bn_exp.c:1152:1: Parameter `*rr->d`
    1150.   }
    1151.   
    1152. > int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
    1153.                            const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
    1154.   {

crypto/bn/bn_exp.c:1201:19: Call
    1199.               BN_zero(rr);
    1200.           } else {
    1201.               ret = BN_one(rr);
                              ^
    1202.           }
    1203.           return ret;

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` 
      534.           return (0);
      535.       a->neg = 0;
      536.       a->d[0] = w;
                 ^
      537.       a->top = (w ? 1 : 0);
      538.       bn_check_top(a);
