engines/e_ubsec.c:638: error: INTEGER_OVERFLOW_L2
  ([0, `p->top`] - 1):unsigned64 by call to `BN_num_bits`.
Showing all 7 steps of the trace


engines/e_ubsec.c:629:1: Parameter `p->top`
627.   #endif
628.   
629. > static int ubsec_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
630.   			const BIGNUM *q, const BIGNUM *dp,
631.   			const BIGNUM *dq, const BIGNUM *qinv, BN_CTX *ctx)

engines/e_ubsec.c:637:10: Call
635.   		fd;
636.   
637.   	m_len = BN_num_bytes(p) + BN_num_bytes(q) + 1;
                ^
638.   	y_len = BN_num_bits(p) + BN_num_bits(q);
639.   

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;

engines/e_ubsec.c:638:10: Call
636.   
637.   	m_len = BN_num_bytes(p) + BN_num_bytes(q) + 1;
638.   	y_len = BN_num_bits(p) + BN_num_bits(q);
                ^
639.   
640.   	/* Check if hardware can't handle this argument. */

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