crypto/asn1/a_int.c:434: error: INTEGER_OVERFLOW_L2
  ([0, `bn->top`] - 1):unsigned64 by call to `BN_bn2bin`.
Showing all 9 steps of the trace


crypto/asn1/a_int.c:405:1: Parameter `bn->top`
403.   	}
404.   
405. > ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
406.   	{
407.   	ASN1_INTEGER *ret;

crypto/asn1/a_int.c:422:4: Call
420.   		ret->type = V_ASN1_NEG_INTEGER;
421.   	else ret->type=V_ASN1_INTEGER;
422.   	j=BN_num_bits(bn);
          ^
423.   	len=((j == 0)?0:((j/8)+1));
424.   	if (ret->length < len+4)

crypto/bn/bn_lib.c:248:1: Parameter `a->top`
  246.   	}
  247.   
  248. > int BN_num_bits(const BIGNUM *a)
  249.   	{
  250.   	int i = a->top - 1;

crypto/asn1/a_int.c:434:14: Call
432.   		ret->data=new_data;
433.   		}
434.   	ret->length=BN_bn2bin(bn,ret->data);
                    ^
435.   	/* Correct zero case */
436.   	if(!ret->length)

crypto/bn/bn_lib.c:641:1: Parameter `a->top`
  639.   
  640.   /* ignore negative */
  641. > int BN_bn2bin(const BIGNUM *a, unsigned char *to)
  642.   	{
  643.   	int n,i;

crypto/bn/bn_lib.c:647:6: Call
  645.   
  646.   	bn_check_top(a);
  647.   	n=i=BN_num_bytes(a);
              ^
  648.   	while (i--)
  649.   		{

crypto/bn/bn_lib.c:248:1: <LHS trace>
246.   	}
247.   
248. > int BN_num_bits(const BIGNUM *a)
249.   	{
250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:248:1: Parameter `a->top`
    246.   	}
    247.   
    248. > int BN_num_bits(const BIGNUM *a)
    249.   	{
    250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:250:2: Binary operation: ([0, bn->top] - 1):unsigned64 by call to `BN_bn2bin` 
    248.   int BN_num_bits(const BIGNUM *a)
    249.   	{
    250.   	int i = a->top - 1;
            ^
    251.   	bn_check_top(a);
    252.   
