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


crypto/dsa/dsa_ossl.c:133:1: Parameter `(*rp)->d`
131.   }
132.   
133. > static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
134.                             BIGNUM **kinvp, BIGNUM **rp,
135.                             const unsigned char *dgst, int dlen)

crypto/dsa/dsa_ossl.c:208:10: Call
206.   
207.   
208.       if (!BN_mod(r, r, dsa->q, ctx))
                ^
209.           goto err;
210.   

crypto/bn/bn_div.c:140:1: Parameter `*rm->d`
  138.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
  139.    */
  140. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  141.              BN_CTX *ctx)
  142.   {

crypto/bn/bn_div.c:409:9: Call
  407.            */
  408.           int neg = num->neg;
  409.           BN_rshift(rm, snum, norm_shift);
                 ^
  410.           if (!BN_is_zero(rm))
  411.               rm->neg = neg;

crypto/bn/bn_shift.c:120:1: Parameter `*r->d`
    118.   }
    119.   
    120. > int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
    121.   {
    122.       int i, j, nw, lb, rb;

crypto/bn/bn_shift.c:138:9: Call
    136.       lb = BN_BITS2 - rb;
    137.       if (nw >= a->top || a->top == 0) {
    138.           BN_zero(r);
                   ^
    139.           return (1);
    140.       }

crypto/bn/bn_lib.c:463:1: <Length trace>
461.   }
462.   
463. > int BN_set_word(BIGNUM *a, BN_ULONG w)
464.   {
465.       bn_check_top(a);

crypto/bn/bn_lib.c:463:1: Parameter `*a->d`
      461.   }
      462.   
      463. > int BN_set_word(BIGNUM *a, BN_ULONG w)
      464.   {
      465.       bn_check_top(a);

crypto/bn/bn_lib.c:466:9: Call
      464.   {
      465.       bn_check_top(a);
      466.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                     ^
      467.           return (0);
      468.       a->neg = 0;

crypto/bn/bn_lcl.h:676:1: Parameter `*a->d`
        674.   int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits, BN_CTX *ctx);
        675.   
        676. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
        677.   {
        678.       if (bits > (INT_MAX - BN_BITS2 + 1))

crypto/bn/bn_lib.c:469:5: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_div` 
      467.           return (0);
      468.       a->neg = 0;
      469.       a->d[0] = w;
                 ^
      470.       a->top = (w ? 1 : 0);
      471.       bn_check_top(a);
