apps/apps.c:1672: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `ASN1_INTEGER_to_BN`.
Showing all 12 steps of the trace


apps/apps.c:1648:10: Call
1646.       ASN1_INTEGER *ai = NULL;
1647.   
1648.       ai = ASN1_INTEGER_new();
                 ^
1649.       if (ai == NULL)
1650.           goto err;

crypto/asn1/tasn_typ.c:78:1: Call
  76.   
  77.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_OCTET_STRING)
  78. > IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_INTEGER)
  79.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_ENUMERATED)
  80.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_BIT_STRING)

crypto/asn1/asn1_lib.c:414:5: Assignment
    412.           return (NULL);
    413.       }
    414.       ret->length = 0;
               ^
    415.       ret->type = type;
    416.       ret->data = NULL;

apps/apps.c:1667:14: Call
1665.           }
1666.       } else {
1667.           if (!a2i_ASN1_INTEGER(in, ai, buf, 1024)) {
                     ^
1668.               BIO_printf(bio_err, "unable to load number from %s\n",
1669.                          serialfile);

crypto/asn1/f_int.c:102:1: Parameter `bs->length`
  100.   }
  101.   
  102. > int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size)
  103.   {
  104.       int ret = 0;

apps/apps.c:1672:15: Call
1670.               goto err;
1671.           }
1672.           ret = ASN1_INTEGER_to_BN(ai, NULL);
                      ^
1673.           if (ret == NULL) {
1674.               BIO_printf(bio_err,

crypto/asn1/a_int.c:447:1: Parameter `ai->length`
  445.   }
  446.   
  447. > BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
  448.   {
  449.       BIGNUM *ret;

crypto/asn1/a_int.c:451:16: Call
  449.       BIGNUM *ret;
  450.   
  451.       if ((ret = BN_bin2bn(ai->data, ai->length, bn)) == NULL)
                        ^
  452.           ASN1err(ASN1_F_ASN1_INTEGER_TO_BN, ASN1_R_BN_LIB);
  453.       else if (ai->type == V_ASN1_NEG_INTEGER)

crypto/bn/bn_lib.c:523:1: <LHS trace>
521.   }
522.   
523. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
524.   {
525.       unsigned int i, m;

crypto/bn/bn_lib.c:523:1: Parameter `len`
    521.   }
    522.   
    523. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
    524.   {
    525.       unsigned int i, m;

crypto/bn/bn_lib.c:536:5: Assignment
    534.       bn_check_top(ret);
    535.       l = 0;
    536.       n = len;
               ^
    537.       if (n == 0) {
    538.           ret->top = 0;

crypto/bn/bn_lib.c:541:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ASN1_INTEGER_to_BN` 
    539.           return (ret);
    540.       }
    541.       i = ((n - 1) / BN_BYTES) + 1;
               ^
    542.       m = ((n - 1) % (BN_BYTES));
    543.       if (bn_wexpand(ret, (int)i) == NULL) {
