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


crypto/asn1/t_pkey.c:65:1: Parameter `num->top`
63.   #include <openssl/bn.h>
64.   
65. > int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
66.   			unsigned char *buf, int off)
67.   	{

crypto/asn1/t_pkey.c:82:6: Call
80.   		}
81.   
82.   	if (BN_num_bytes(num) <= BN_BYTES)
           ^
83.   		{
84.   		if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg,

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/t_pkey.c:94:5: Call
92.   			(neg[0] == '-')?" (Negative)":"") <= 0)
93.   			return(0);
94.   		n=BN_bn2bin(num,&buf[1]);
          ^
95.   	
96.   		if (buf[1] & 0x80)

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, num->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.   
