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


apps/x509.c:797:5: Call
795.   		strcpy(buf,serialfile);
796.   	serial=BN_new();
797.   	bs=ASN1_INTEGER_new();
           ^
798.   	if ((serial == NULL) || (bs == NULL))
799.   		{

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:826:8: Call
824.   	else 
825.   		{
826.   		if (!a2i_ASN1_INTEGER(io,bs,buf2,1024))
              ^
827.   			{
828.   			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:834:11: Call
832.   		else
833.   			{
834.   			serial=BN_bin2bn(bs->data,bs->length,serial);
                 ^
835.   			if (serial == NULL)
836.   				{

crypto/bn/bn_lib.c:597:1: <LHS trace>
595.   
596.   /* ignore negative */
597. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
598.   	{
599.   	unsigned int i,m;

crypto/bn/bn_lib.c:597:1: Parameter `len`
  595.   
  596.   /* ignore negative */
  597. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  598.   	{
  599.   	unsigned int i,m;

crypto/bn/bn_lib.c:606:2: Assignment
  604.   	if (ret == NULL) return(NULL);
  605.   	l=0;
  606.   	n=len;
          ^
  607.   	if (n == 0)
  608.   		{

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