engines/e_cswift.c:599: error: INTEGER_OVERFLOW_L2
  ([0, `in->top`] - 1):unsigned64 by call to `BN_bn2bin`.
Showing all 9 steps of the trace


engines/e_cswift.c:584:1: Parameter `in->top`
582.   
583.   #ifndef OPENSSL_NO_RSA
584. > int cswift_bn_32copy(SW_LARGENUMBER * out, const BIGNUM * in)
585.   {
586.   	int mod;

engines/e_cswift.c:587:17: Call
585.   {
586.   	int mod;
587.   	int numbytes = BN_num_bytes(in);
                       ^
588.   
589.   	mod = 0;

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_cswift.c:599:2: Call
597.   		return 0;
598.   	}
599.   	BN_bn2bin(in, &out->value[mod]);
        ^
600.   	if(mod)
601.   		memset(out->value, 0, mod);

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