crypto/pkcs12/p12_key.c:196: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_bn2bin`.
Showing all 16 steps of the trace


crypto/pkcs12/p12_key.c:182:4: Call
180.   		BN_add_word (Bpl1, 1);
181.   		for (j = 0; j < Ilen ; j+=v) {
182.   			BN_bin2bn (I + j, v, Ij);
          ^
183.   			BN_add (Ij, Ij, Bpl1);
184.   			BN_bn2bin (Ij, B);

crypto/bn/bn_lib.c:597:1: Parameter `ret->top`
  595.   	}
  596.   
  597. > BIGNUM *BN_bin2bn(const unsigned char *s, size_t len, BIGNUM *ret)
  598.   	{
  599.   	unsigned int i,m;

crypto/pkcs12/p12_key.c:183:4: Call
181.   		for (j = 0; j < Ilen ; j+=v) {
182.   			BN_bin2bn (I + j, v, Ij);
183.   			BN_add (Ij, Ij, Bpl1);
          ^
184.   			BN_bn2bin (Ij, B);
185.   			Ijlen = BN_num_bytes (Ij);

crypto/bn/bn_add.c:64:1: Parameter `a->top`
  62.   
  63.   /* r can == a or b */
  64. > int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
  65.   	{
  66.   	const BIGNUM *tmp;

crypto/pkcs12/p12_key.c:184:4: Call
182.   			BN_bin2bn (I + j, v, Ij);
183.   			BN_add (Ij, Ij, Bpl1);
184.   			BN_bn2bin (Ij, B);
          ^
185.   			Ijlen = BN_num_bytes (Ij);
186.   			/* If more than 2^(v*8) - 1 cut off MSB */

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: Parameter `a->top`
    246.   	}
    247.   
    248. > int BN_num_bits(const BIGNUM *a)
    249.   	{
    250.   	int i = a->top - 1;

crypto/pkcs12/p12_key.c:185:12: Call
183.   			BN_add (Ij, Ij, Bpl1);
184.   			BN_bn2bin (Ij, B);
185.   			Ijlen = BN_num_bytes (Ij);
                  ^
186.   			/* If more than 2^(v*8) - 1 cut off MSB */
187.   			if (Ijlen > v) {

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/pkcs12/p12_key.c:196:11: Call
194.   				BN_bn2bin(Ij, I + j + v - Ijlen); 
195.   #endif
196.   			} else BN_bn2bin (Ij, I + j);
                 ^
197.   		}
198.   	}

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.   
