apps/x509.c:788: error: BUFFER_OVERRUN_L3
  Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: [0, +oo] by call to `BN_add_word`.
Showing all 9 steps of the trace


apps/x509.c:766:4: Call
764.   			{
765.   			ASN1_INTEGER_set(bs,0);
766.   			BN_zero(serial);
          ^
767.   			}
768.   		}

crypto/bn/bn_lib.c:548:1: Parameter `*a->d`
  546.   	}
  547.   
  548. > int BN_set_word(BIGNUM *a, BN_ULONG w)
  549.   	{
  550.   	int i,n;

apps/x509.c:788:7: Call
786.   		}
787.   
788.   	if (!BN_add_word(serial,1))
             ^
789.   		{ BIO_printf(bio_err,"add_word failure\n"); goto end; }
790.   	bs2.data=(unsigned char *)buf2;

crypto/bn/bn_word.c:108:1: Parameter `*a->d`
  106.   	}
  107.   
  108. > int BN_add_word(BIGNUM *a, BN_ULONG w)
  109.   	{
  110.   	BN_ULONG l;

crypto/bn/bn_word.c:122:6: Call
  120.   		}
  121.   	w&=BN_MASK2;
  122.   	if (bn_wexpand(a,a->top+1) == NULL) return(0);
              ^
  123.   	i=0;
  124.   	for (;;)

crypto/bn/bn_lib.c:344:1: <Length trace>
342.   	}
343.   
344. > BIGNUM *bn_expand2(BIGNUM *b, int words)
345.   	{
346.   	BN_ULONG *A,*B,*a;

crypto/bn/bn_lib.c:344:1: Parameter `*b->d`
    342.   	}
    343.   
    344. > BIGNUM *bn_expand2(BIGNUM *b, int words)
    345.   	{
    346.   	BN_ULONG *A,*B,*a;

crypto/bn/bn_lib.c:367:3: Assignment
    365.   memset(A,0x5c,sizeof(BN_ULONG)*(words+1));
    366.   #if 1
    367.   		B=b->d;
             ^
    368.   		/* Check if the previous number needs to be copied */
    369.   		if (B != NULL)

crypto/bn/bn_lib.c:377:43: Array access: Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: [0, +oo] by call to `BN_add_word` 
    375.   				{
    376.   				A[0]=B[0]; A[1]=B[1]; A[2]=B[2]; A[3]=B[3];
    377.   				A[4]=B[4]; A[5]=B[5]; A[6]=B[6]; A[7]=B[7];
                                                     ^
    378.   				A+=8;
    379.   				B+=8;
