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


apps/x509.c:796:4: Call
794.   			{
795.   			ASN1_INTEGER_set(bs,0);
796.   			BN_zero(serial);
          ^
797.   			}
798.   		}

crypto/bn/bn_lib.c:567:1: Parameter `*a->d`
  565.   	}
  566.   
  567. > int BN_set_word(BIGNUM *a, BN_ULONG w)
  568.   	{
  569.   	int i,n;

apps/x509.c:818:7: Call
816.   		}
817.   
818.   	if (!BN_add_word(serial,1))
             ^
819.   		{ BIO_printf(bio_err,"add_word failure\n"); goto end; }
820.   	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,*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,*a;

crypto/bn/bn_lib.c:367:3: Assignment
    365.   			}
    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:447:35: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, +oo] by call to `BN_add_word` 
    445.   				 */
    446.   				BN_ULONG a0,a1,a2,a3;
    447.   				a0=B[0]; a1=B[1]; a2=B[2]; a3=B[3];
                                             ^
    448.   				A[0]=a0; A[1]=a1; A[2]=a2; A[3]=a3;
    449.   				}
