crypto/bn/bntest.c:502: error: BUFFER_OVERRUN_L3
  Offset: 7 Size: [0, +oo] by call to `BN_sqr`.
Showing all 12 steps of the trace


crypto/bn/bntest.c:498:3: Call
496.   	for (i=0; i<40; i++)
497.   		{
498.   		BN_rand(&a,40+i*10,0,0);
         ^
499.   		a.neg=rand_neg();
500.   		if (bp == NULL)

crypto/bn/bn_rand.c:65:1: Parameter `*rnd->d`
  63.   #include <openssl/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:503:3: Call
501.   			for (j=0; j<100; j++)
502.   				BN_sqr(&c,&a,ctx);
503.   		BN_sqr(&c,&a,ctx);
         ^
504.   		if (bp != NULL)
505.   			{

crypto/bn/bn_sqr.c:65:1: Parameter `*a->d`
  63.   /* r must not be a */
  64.   /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */
  65. > int BN_sqr(BIGNUM *r, BIGNUM *a, BN_CTX *ctx)
  66.   	{
  67.   	int max,al;

crypto/bn/bntest.c:498:3: Call
496.   	for (i=0; i<40; i++)
497.   		{
498.   		BN_rand(&a,40+i*10,0,0);
         ^
499.   		a.neg=rand_neg();
500.   		if (bp == NULL)

crypto/bn/bn_rand.c:65:1: Parameter `*rnd->d`
  63.   #include <openssl/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:502:5: Call
500.   		if (bp == NULL)
501.   			for (j=0; j<100; j++)
502.   				BN_sqr(&c,&a,ctx);
           ^
503.   		BN_sqr(&c,&a,ctx);
504.   		if (bp != NULL)

crypto/bn/bn_sqr.c:65:1: Parameter `*a->d`
  63.   /* r must not be a */
  64.   /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */
  65. > int BN_sqr(BIGNUM *r, BIGNUM *a, BN_CTX *ctx)
  66.   	{
  67.   	int max,al;

crypto/bn/bn_sqr.c:103:3: Call
  101.   		bn_sqr_normal(rr->d,a->d,8,t);
  102.   #else
  103.   		bn_sqr_comba8(rr->d,a->d);
           ^
  104.   #endif
  105.   		}

crypto/bn/bn_asm.c:643:1: <Length trace>
641.   	}
642.   
643. > void bn_sqr_comba8(BN_ULONG *r, BN_ULONG *a)
644.   	{
645.   #ifdef BN_LLONG

crypto/bn/bn_asm.c:643:1: Parameter `*a`
    641.   	}
    642.   
    643. > void bn_sqr_comba8(BN_ULONG *r, BN_ULONG *a)
    644.   	{
    645.   #ifdef BN_LLONG

crypto/bn/bn_asm.c:686:2: Array access: Offset: 7 Size: [0, +oo] by call to `BN_sqr` 
    684.   	r[6]=c1;
    685.   	c1=0;
    686.   	sqr_add_c2(a,7,0,c2,c3,c1);
            ^
    687.   	sqr_add_c2(a,6,1,c2,c3,c1);
    688.   	sqr_add_c2(a,5,2,c2,c3,c1);
