crypto/asn1/tasn_enc.c:298: error: INTEGER_OVERFLOW_L2
  ([2, 2147483646] + [0, 2147483644]):signed32 by call to `ASN1_object_size`.
Showing all 7 steps of the trace


crypto/asn1/tasn_enc.c:288:9: Assignment
286.   
287.           /* Determine total length of items */
288.           skcontlen = 0;
               ^
289.           for (i = 0; i < sk_const_ASN1_VALUE_num(sk); i++) {
290.               int tmplen;

crypto/asn1/tasn_enc.c:298:17: Call
296.               skcontlen += tmplen;
297.           }
298.           sklen = ASN1_object_size(ndef, skcontlen, sktag);
                       ^
299.           if (sklen == -1)
300.               return -1;

crypto/asn1/asn1_lib.c:215:1: <LHS trace>
213.   }
214.   
215. > int ASN1_object_size(int constructed, int length, int tag)
216.   {
217.       int ret = 1;

crypto/asn1/asn1_lib.c:215:1: Parameter `length`
  213.   }
  214.   
  215. > int ASN1_object_size(int constructed, int length, int tag)
  216.   {
  217.       int ret = 1;

crypto/asn1/asn1_lib.c:215:1: <RHS trace>
213.   }
214.   
215. > int ASN1_object_size(int constructed, int length, int tag)
216.   {
217.       int ret = 1;

crypto/asn1/asn1_lib.c:215:1: Parameter `length`
  213.   }
  214.   
  215. > int ASN1_object_size(int constructed, int length, int tag)
  216.   {
  217.       int ret = 1;

crypto/asn1/asn1_lib.c:240:5: Binary operation: ([2, 2147483646] + [0, 2147483644]):signed32 by call to `ASN1_object_size` 
  238.       if (ret >= INT_MAX - length)
  239.           return -1;
  240.       return ret + length;
             ^
  241.   }
  242.   
