apps/x509.c:779: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_bin2bn`.
Showing all 9 steps of the trace


apps/x509.c:742:5: Call
740.   		strcpy(buf,serialfile);
741.   	serial=BN_new();
742.   	bs=ASN1_INTEGER_new();
           ^
743.   	if ((serial == NULL) || (bs == NULL))
744.   		{

crypto/asn1/asn1_lib.c:379:2: Assignment
  377.   		return(NULL);
  378.   		}
  379.   	ret->length=0;
          ^
  380.   	ret->type=type;
  381.   	ret->data=NULL;

apps/x509.c:771:8: Call
769.   	else 
770.   		{
771.   		if (!a2i_ASN1_INTEGER(io,bs,buf2,1024))
              ^
772.   			{
773.   			BIO_printf(bio_err,"unable to load serial number from %s\n",buf);

crypto/asn1/f_int.c:97:1: Parameter `bs->length`
  95.   	}
  96.   
  97. > int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size)
  98.   	{
  99.   	int ret=0;

apps/x509.c:779:11: Call
777.   		else
778.   			{
779.   			serial=BN_bin2bn(bs->data,bs->length,serial);
                 ^
780.   			if (serial == NULL)
781.   				{

crypto/bn/bn_lib.c:574:1: <LHS trace>
572.   
573.   /* ignore negative */
574. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
575.   	{
576.   	unsigned int i,m;

crypto/bn/bn_lib.c:574:1: Parameter `len`
  572.   
  573.   /* ignore negative */
  574. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  575.   	{
  576.   	unsigned int i,m;

crypto/bn/bn_lib.c:583:2: Assignment
  581.   	if (ret == NULL) return(NULL);
  582.   	l=0;
  583.   	n=len;
          ^
  584.   	if (n == 0)
  585.   		{

crypto/bn/bn_lib.c:591:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_bin2bn` 
  589.   	if (bn_expand(ret,(int)(n+2)*8) == NULL)
  590.   		return(NULL);
  591.   	i=((n-1)/BN_BYTES)+1;
          ^
  592.   	m=((n-1)%(BN_BYTES));
  593.   	ret->top=i;
