crypto/dsa/dsa_lib.c:177: error: INTEGER_OVERFLOW_L2
  ([2, 2147483646] + [0, 2147483644]):signed32 by call to `ASN1_object_size`.
Showing all 14 steps of the trace


crypto/dsa/dsa_lib.c:175:9: Call
173.       buf[0] = 0xff;
174.   
175.       i = i2d_ASN1_INTEGER(&bs, NULL);
               ^
176.       i += i;                     /* r and s */
177.       ret = ASN1_object_size(1, i, V_ASN1_SEQUENCE);

crypto/asn1/tasn_typ.c:29:1: Call
  27.   
  28.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_OCTET_STRING)
  29. > IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_INTEGER)
  30.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_ENUMERATED)
  31.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_BIT_STRING)

crypto/asn1/tasn_enc.c:44:12: Call
    42.   int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
    43.   {
    44.       return asn1_item_flags_i2d(val, out, it, 0);
                     ^
    45.   }
    46.   

crypto/asn1/tasn_enc.c:65:13: Assignment
      63.           buf = OPENSSL_malloc(len);
      64.           if (buf == NULL)
      65.               return -1;
                        ^
      66.           p = buf;
      67.           ASN1_item_ex_i2d(&val, &p, it, -1, flags);

crypto/asn1/tasn_enc.c:44:5: Assignment
    42.   int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
    43.   {
    44.       return asn1_item_flags_i2d(val, out, it, 0);
              ^
    45.   }
    46.   

crypto/asn1/tasn_typ.c:29:1: Assignment
  27.   
  28.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_OCTET_STRING)
  29. > IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_INTEGER)
  30.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_ENUMERATED)
  31.   IMPLEMENT_ASN1_STRING_FUNCTIONS(ASN1_BIT_STRING)

crypto/dsa/dsa_lib.c:175:5: Assignment
173.       buf[0] = 0xff;
174.   
175.       i = i2d_ASN1_INTEGER(&bs, NULL);
           ^
176.       i += i;                     /* r and s */
177.       ret = ASN1_object_size(1, i, V_ASN1_SEQUENCE);

crypto/dsa/dsa_lib.c:176:5: Assignment
174.   
175.       i = i2d_ASN1_INTEGER(&bs, NULL);
176.       i += i;                     /* r and s */
           ^
177.       ret = ASN1_object_size(1, i, V_ASN1_SEQUENCE);
178.       return (ret);

crypto/dsa/dsa_lib.c:177:11: Call
175.       i = i2d_ASN1_INTEGER(&bs, NULL);
176.       i += i;                     /* r and s */
177.       ret = ASN1_object_size(1, i, V_ASN1_SEQUENCE);
                 ^
178.       return (ret);
179.   }

crypto/asn1/asn1_lib.c:207:1: <LHS trace>
205.   }
206.   
207. > int ASN1_object_size(int constructed, int length, int tag)
208.   {
209.       int ret = 1;

crypto/asn1/asn1_lib.c:207:1: Parameter `length`
  205.   }
  206.   
  207. > int ASN1_object_size(int constructed, int length, int tag)
  208.   {
  209.       int ret = 1;

crypto/asn1/asn1_lib.c:207:1: <RHS trace>
205.   }
206.   
207. > int ASN1_object_size(int constructed, int length, int tag)
208.   {
209.       int ret = 1;

crypto/asn1/asn1_lib.c:207:1: Parameter `length`
  205.   }
  206.   
  207. > int ASN1_object_size(int constructed, int length, int tag)
  208.   {
  209.       int ret = 1;

crypto/asn1/asn1_lib.c:232:5: Binary operation: ([2, 2147483646] + [0, 2147483644]):signed32 by call to `ASN1_object_size` 
  230.       if (ret >= INT_MAX - length)
  231.           return -1;
  232.       return ret + length;
             ^
  233.   }
  234.   
