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


apps/x509.c:961:5: Call
959.   		strcpy(buf,serialfile);
960.   	serial=BN_new();
961.   	bs=ASN1_INTEGER_new();
           ^
962.   	if ((serial == NULL) || (bs == NULL))
963.   		{

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:374:2: Assignment
    372.   		return(NULL);
    373.   		}
    374.   	ret->length=0;
            ^
    375.   	ret->type=type;
    376.   	ret->data=NULL;

apps/x509.c:990:8: Call
988.   	else 
989.   		{
990.   		if (!a2i_ASN1_INTEGER(io,bs,buf2,1024))
              ^
991.   			{
992.   			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:998:11: Call
996.   		else
997.   			{
998.   			serial=BN_bin2bn(bs->data,bs->length,serial);
                  ^
999.   			if (serial == NULL)
1000.   				{

crypto/bn/bn_lib.c:565:1: <LHS trace>
563.   
564.   /* ignore negative */
565. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
566.   	{
567.   	unsigned int i,m;

crypto/bn/bn_lib.c:565:1: Parameter `len`
  563.   
  564.   /* ignore negative */
  565. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  566.   	{
  567.   	unsigned int i,m;

crypto/bn/bn_lib.c:574:2: Assignment
  572.   	if (ret == NULL) return(NULL);
  573.   	l=0;
  574.   	n=len;
          ^
  575.   	if (n == 0)
  576.   		{

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