crypto/dsa/dsa_vrf.c:92: error: BUFFER_OVERRUN_L3
  Offset: [16, +oo] Size: [0, +oo] by call to `BN_mod_mul`.
Showing all 11 steps of the trace


crypto/dsa/dsa_vrf.c:83:7: Call
81.   	/* Calculate W = inv(S) mod Q
82.   	 * save W in u2 */
83.   	if ((BN_mod_inverse(&u2,sig->s,dsa->q,ctx)) == NULL) goto err;
            ^
84.   
85.   	/* save M in u1 */

crypto/bn/bn_gcd.c:148:1: Parameter `in->top`
  146.   
  147.   /* solves ax == 1 (mod n) */
  148. > BIGNUM *BN_mod_inverse(BIGNUM *in, BIGNUM *a, BIGNUM *n, BN_CTX *ctx)
  149.   	{
  150.   	BIGNUM *A,*B,*X,*Y,*M,*D,*R;

crypto/dsa/dsa_vrf.c:92:7: Call
90.   
91.   	/* u2 = r * w mod q */
92.   	if (!BN_mod_mul(&u2,sig->r,&u2,dsa->q,ctx)) goto err;
            ^
93.   
94.   	if ((dsa->method_mont_p == NULL) && (dsa->flags & DSA_FLAG_CACHE_MONT_P))

crypto/bn/bn_exp.c:66:1: Parameter `*b->d`
  64.   
  65.   /* slow but works */
  66. > int BN_mod_mul(BIGNUM *ret, BIGNUM *a, BIGNUM *b, BIGNUM *m, BN_CTX *ctx)
  67.   	{
  68.   	BIGNUM *t;

crypto/bn/bn_exp.c:79:10: Call
  77.   		{ if (!BN_sqr(t,a,ctx)) goto err; }
  78.   	else
  79.   		{ if (!BN_mul(t,a,b,ctx)) goto err; }
                 ^
  80.   	if (!BN_mod(ret,t,m,ctx)) goto err;
  81.   	r=1;

crypto/bn/bn_mul.c:560:1: <Offset trace>
558.   #endif
559.   
560. > int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
561.   	{
562.   	int top,al,bl;

crypto/bn/bn_mul.c:560:1: Parameter `a->top`
    558.   #endif
    559.   
    560. > int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
    561.   	{
    562.   	int top,al,bl;

crypto/bn/bn_mul.c:577:2: Assignment
    575.   	bn_check_top(r);
    576.   
    577.   	al=a->top;
            ^
    578.   	bl=b->top;
    579.   	r->neg=a->neg^b->neg;

crypto/bn/bn_mul.c:560:1: <Length trace>
558.   #endif
559.   
560. > int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
561.   	{
562.   	int top,al,bl;

crypto/bn/bn_mul.c:560:1: Parameter `*b->d`
    558.   #endif
    559.   
    560. > int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
    561.   	{
    562.   	int top,al,bl;

crypto/bn/bn_mul.c:641:4: Array access: Offset: [16, +oo] Size: [0, +oo] by call to `BN_mod_mul` 
    639.   			{
    640.   			bn_wexpand(b,al);
    641.   			b->d[bl]=0;
              ^
    642.   			bl++;
    643.   			goto symetric;
