crypto/bn/bn_exp.c:479: error: BUFFER_OVERRUN_L3
  Offset: [4, +oo] (⇐ [0, +oo] + 4) Size: [0, +oo] by call to `BN_mod_mul`.
Showing all 12 steps of the trace


crypto/bn/bn_exp.c:462:7: Call
460.   	BN_init(&(val[0]));
461.   	ts=1;
462.   	if (!BN_mod(&(val[0]),a,m,ctx)) goto err;		/* 1 */
             ^
463.   	if (!BN_mod_mul(d,&(val[0]),&(val[0]),m,ctx))
464.   		goto err;				/* 2 */

crypto/bn/bn_div.c:287:1: Parameter `*rem->d`
  285.   
  286.   /* rem != m */
  287. > int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  288.   	{
  289.   #if 0 /* The old slow way */

crypto/bn/bn_div.c:313:9: Call
  311.   	return(1);
  312.   #else
  313.   	return(BN_div(NULL,rem,m,d,ctx));
                 ^
  314.   #endif
  315.   	}

crypto/bn/bn_div.c:121:1: Parameter `*rm->d`
    119.   #else
    120.   
    121. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    122.   	   BN_CTX *ctx)
    123.   	{

crypto/bn/bn_exp.c:479:8: Call
477.   		{
478.   		BN_init(&(val[i]));
479.   		if (!BN_mod_mul(&(val[i]),&(val[i-1]),d,m,ctx))
              ^
480.   			goto err;
481.   		}

crypto/bn/bn_exp.c:66:1: Parameter `*a->d`
  64.   
  65.   /* slow but works */
  66. > int BN_mod_mul(BIGNUM *ret, BIGNUM *a, BIGNUM *b, const 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: Parameter `*a->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:619:4: Call
    617.   			if (bn_wexpand(rr,top) == NULL) return(0);
    618.   			rr->top=top;
    619.   			bn_mul_normal(rr->d,a->d,al,b->d,bl);
              ^
    620.   			goto end;
    621.   			}

crypto/bn/bn_mul.c:699:1: <Length trace>
697.   	}
698.   
699. > void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
700.   	{
701.   	BN_ULONG *rr;

crypto/bn/bn_mul.c:699:1: Parameter `*b`
      697.   	}
      698.   
      699. > void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
      700.   	{
      701.   	BN_ULONG *rr;

crypto/bn/bn_mul.c:728:39: Array access: Offset: [4, +oo] (⇐ [0, +oo] + 4) Size: [0, +oo] by call to `BN_mod_mul` 
      726.   		rr[3]=bn_mul_add_words(&(r[3]),a,na,b[3]);
      727.   		if (--nb <= 0) return;
      728.   		rr[4]=bn_mul_add_words(&(r[4]),a,na,b[4]);
                                                   ^
      729.   		rr+=4;
      730.   		r+=4;
