crypto/bn/bn_print.c:341: error: INTEGER_OVERFLOW_L2
  ([0, `a->top`] - 1):unsigned64.
Showing all 3 steps of the trace


crypto/bn/bn_print.c:334:1: <LHS trace>
332.   #endif
333.   
334. > int BN_print(BIO *bp, const BIGNUM *a)
335.   	{
336.   	int i,j,v,z=0;

crypto/bn/bn_print.c:334:1: Parameter `a->top`
332.   #endif
333.   
334. > int BN_print(BIO *bp, const BIGNUM *a)
335.   	{
336.   	int i,j,v,z=0;

crypto/bn/bn_print.c:341:7: Binary operation: ([0, a->top] - 1):unsigned64
339.   	if ((a->neg) && (BIO_write(bp,"-",1) != 1)) goto end;
340.   	if (BN_is_zero(a) && (BIO_write(bp,"0",1) != 1)) goto end;
341.   	for (i=a->top-1; i >=0; i--)
             ^
342.   		{
343.   		for (j=BN_BITS2-4; j >= 0; j-=4)

int BN_print(BIO *bp, const BIGNUM *a)
	{
	int i,j,v,z=0;
	int ret=0;
	if ((a->neg) && (BIO_write(bp,"-",1) != 1)) goto end;
	if (BN_is_zero(a) && (BIO_write(bp,"0",1) != 1)) goto end;
	for (i=a->top-1; i >=0; i--)
		{
		for (j=BN_BITS2-4; j >= 0; j-=4)
			{
			v=((int)(a->d[i]>>(long)j))&0x0f;
			if (z || (v != 0))
				{
				if (BIO_write(bp,&(Hex[v]),1) != 1)
					goto end;
				z=1;
				}
			}
		}
	ret=1;
end:
	return(ret);
	}
['int BN_print(BIO *bp, const BIGNUM *a)\n\t{\n\tint i,j,v,z=0;\n\tint ret=0;\n\tif ((a->neg) && (BIO_write(bp,"-",1) != 1)) goto end;\n\tif (BN_is_zero(a) && (BIO_write(bp,"0",1) != 1)) goto end;\n\tfor (i=a->top-1; i >=0; i--)\n\t\t{\n\t\tfor (j=BN_BITS2-4; j >= 0; j-=4)\n\t\t\t{\n\t\t\tv=((int)(a->d[i]>>(long)j))&0x0f;\n\t\t\tif (z || (v != 0))\n\t\t\t\t{\n\t\t\t\tif (BIO_write(bp,&(Hex[v]),1) != 1)\n\t\t\t\t\tgoto end;\n\t\t\t\tz=1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\tret=1;\nend:\n\treturn(ret);\n\t}']