crypto/pem/pvkfmt.c:614: error: INTEGER_OVERFLOW_L2
  ([0, `rsa->n->top`] - 1):unsigned64 by call to `BN_num_bits`.
Showing all 7 steps of the trace


crypto/pem/pvkfmt.c:610:1: Parameter `rsa->n->top`
608.   
609.   
610. > static void write_rsa(unsigned char **out, RSA *rsa, int ispub)
611.   	{
612.   	int nbyte, hnbyte;

crypto/pem/pvkfmt.c:613:10: Call
611.   	{
612.   	int nbyte, hnbyte;
613.   	nbyte = BN_num_bytes(rsa->n);
                ^
614.   	hnbyte = (BN_num_bits(rsa->n) + 15) >> 4;
615.   	write_lebn(out, rsa->e, 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/pem/pvkfmt.c:614:12: Call
612.   	int nbyte, hnbyte;
613.   	nbyte = BN_num_bytes(rsa->n);
614.   	hnbyte = (BN_num_bits(rsa->n) + 15) >> 4;
                  ^
615.   	write_lebn(out, rsa->e, 4);
616.   	write_lebn(out, rsa->n, -1);

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, rsa->n->top] - 1):unsigned64 by call to `BN_num_bits` 
  248.   int BN_num_bits(const BIGNUM *a)
  249.   	{
  250.   	int i = a->top - 1;
          ^
  251.   	bn_check_top(a);
  252.   
