crypto/dh/dh_key.c:224: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_bn2bin`.
Showing all 9 steps of the trace


crypto/dh/dh_key.c:191:8: Call
189.   	if (ctx == NULL) goto err;
190.   	BN_CTX_start(ctx);
191.   	tmp = BN_CTX_get(ctx);
              ^
192.   	
193.   	if (dh->priv_key == NULL)

crypto/bn/bn_ctx.c:302:2: Call
  300.   		}
  301.   	/* OK, make sure the returned bignum is "zero" */
  302.   	BN_zero(ret);
          ^
  303.   	ctx->used++;
  304.   	CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:586:1: Parameter `a->top`
    584.   	}
    585.   
    586. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    587.   	{
    588.   	bn_check_top(a);

crypto/dh/dh_key.c:224:6: Call
222.   		}
223.   
224.   	ret=BN_bn2bin(tmp,key);
            ^
225.   err:
226.   	if (ctx != NULL)

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, +oo] - 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.   
