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


apps/x509.c:1044:5: Call
1042.   		strcpy(buf,serialfile);
1043.   	serial=BN_new();
1044.   	bs=ASN1_INTEGER_new();
            ^
1045.   	if ((serial == NULL) || (bs == NULL))
1046.   		{

crypto/asn1/a_int.c:64:10: Call
  62.   
  63.   ASN1_INTEGER *ASN1_INTEGER_new(void)
  64.   { return M_ASN1_INTEGER_new();}
                 ^
  65.   
  66.   void ASN1_INTEGER_free(ASN1_INTEGER *x)

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

apps/x509.c:1073:8: Call
1071.   	else 
1072.   		{
1073.   		if (!a2i_ASN1_INTEGER(io,bs,buf2,1024))
               ^
1074.   			{
1075.   			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:1081:11: Call
1079.   		else
1080.   			{
1081.   			serial=BN_bin2bn(bs->data,bs->length,serial);
                  ^
1082.   			if (serial == NULL)
1083.   				{

crypto/bn/bn_lib.c:589:1: <LHS trace>
587.   	}
588.   
589. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
590.   	{
591.   	unsigned int i,m;

crypto/bn/bn_lib.c:589:1: Parameter `len`
  587.   	}
  588.   
  589. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  590.   	{
  591.   	unsigned int i,m;

crypto/bn/bn_lib.c:598:2: Assignment
  596.   	if (ret == NULL) return(NULL);
  597.   	l=0;
  598.   	n=len;
          ^
  599.   	if (n == 0)
  600.   		{

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