crypto/bn/bntest.c:517: error: BUFFER_OVERRUN_L3
  Offset: 6 (⇐ 4 + 2) Size: [0, +oo] by call to `BN_mod_mul_montgomery`.
Showing all 12 steps of the trace


crypto/bn/bntest.c:510:2: Call
508.   	mont=BN_MONT_CTX_new();
509.   
510.   	BN_rand(&a,100,0,0); /**/
        ^
511.   	BN_rand(&b,100,0,0); /**/
512.   	for (i=0; i<10; i++)

crypto/bn/bn_rand.c:65:1: Parameter `*rnd->d`
  63.   #include "rand.h"
  64.   
  65. > int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
  66.   	{
  67.   	unsigned char *buf=NULL;

crypto/bn/bntest.c:517:3: Call
515.   		BN_MONT_CTX_set(mont,&n,ctx);
516.   
517.   		BN_to_montgomery(&A,&a,mont,ctx);
         ^
518.   		BN_to_montgomery(&B,&b,mont,ctx);
519.   

crypto/bn/bn_mont.c:71:1: Parameter `*a->d`
  69.   #define MONT_WORD
  70.   
  71. > int BN_mod_mul_montgomery(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_MONT_CTX *mont,
  72.   	     BN_CTX *ctx)
  73.   	{

crypto/bn/bn_mont.c:98:8: Call
  96.   	else
  97.   		{
  98.   		if (!BN_mul(tmp,a,b,ctx)) goto err;
                ^
  99.   		}
  100.   	/* reduce from aRR to aR */

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:674:4: Call
    672.   			bn_wexpand(t,k*2);
    673.   			bn_wexpand(rr,k*2);
    674.   			bn_mul_recursive(rr->d,a->d,b->d,al,t->d);
              ^
    675.   			}
    676.   		else

crypto/bn/bn_mul.c:74:1: Parameter `*a`
      72.    * a[1]*b[1]
      73.    */
      74. > void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
      75.   	     BN_ULONG *t)
      76.   	{

crypto/bn/bn_mul.c:148:3: Call
      146.   		
      147.   		bn_mul_comba4(r,a,b);
      148.   		bn_mul_comba4(&(r[n2]),&(a[n]),&(b[n]));
               ^
      149.   		}
      150.   	else if (n == 8)

crypto/bn/bn_asm.c:598:1: <Length trace>
596.   	}
597.   
598. > void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
599.   	{
600.   #ifdef BN_LLONG

crypto/bn/bn_asm.c:598:1: Parameter `*a`
        596.   	}
        597.   
        598. > void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
        599.   	{
        600.   #ifdef BN_LLONG

crypto/bn/bn_asm.c:618:2: Array access: Offset: 6 (⇐ 4 + 2) Size: [0, +oo] by call to `BN_mod_mul_montgomery` 
        616.   	r[1]=c2;
        617.   	c2=0;
        618.   	mul_add_c(a[2],b[0],c3,c1,c2);
                ^
        619.   	mul_add_c(a[1],b[1],c3,c1,c2);
        620.   	mul_add_c(a[0],b[2],c3,c1,c2);
