crypto/ocsp/ocsp_ext.c:433: error: INTEGER_OVERFLOW_L1
  (18446744073709551615 + 1):signed32 by call to `ASN1_STRING_set`.
Showing all 4 steps of the trace


crypto/ocsp/ocsp_ext.c:433:9: Call
431.   	        {
432.   		if (!(cid->crlUrl = ASN1_IA5STRING_new())) goto err;
433.   		if (!(ASN1_STRING_set(cid->crlUrl, url, -1))) goto err;
               ^
434.   		}
435.   	if (n)

crypto/asn1/asn1_lib.c:374:1: <LHS trace>
372.   	}
373.   
374. > int ASN1_STRING_set(ASN1_STRING *str, const void *_data, size_t len)
375.   	{
376.   	unsigned char *c;

crypto/asn1/asn1_lib.c:374:1: Parameter `len`
  372.   	}
  373.   
  374. > int ASN1_STRING_set(ASN1_STRING *str, const void *_data, size_t len)
  375.   	{
  376.   	unsigned char *c;

crypto/asn1/asn1_lib.c:392:14: Binary operation: (18446744073709551615 + 1):signed32 by call to `ASN1_STRING_set` 
  390.   			str->data=OPENSSL_malloc(len+1);
  391.   		else
  392.   			str->data=OPENSSL_realloc(c,len+1);
                      ^
  393.   
  394.   		if (str->data == NULL)

int ASN1_STRING_set(ASN1_STRING *str, const void *_data, size_t len)
	{
	unsigned char *c;
	const char *data=_data;
	if (len < 0)
		{
		if (data == NULL)
			return(0);
		else
			len=strlen(data);
		}
	if ((str->length < len) || (str->data == NULL))
		{
		c=str->data;
		if (c == NULL)
			str->data=OPENSSL_malloc(len+1);
		else
			str->data=OPENSSL_realloc(c,len+1);
		if (str->data == NULL)
			{
			ASN1err(ASN1_F_ASN1_STRING_SET,ERR_R_MALLOC_FAILURE);
			str->data=c;
			return(0);
			}
		}
	str->length=len;
	if (data != NULL)
		{
		memcpy(str->data,data,len);
		str->data[len]='\0';
		}
	return(1);
	}
['X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim)\n        {\n\tX509_EXTENSION *x = NULL;\n\tOCSP_CRLID *cid = NULL;\n\tif (!(cid = OCSP_CRLID_new())) goto err;\n\tif (url)\n\t        {\n\t\tif (!(cid->crlUrl = ASN1_IA5STRING_new())) goto err;\n\t\tif (!(ASN1_STRING_set(cid->crlUrl, url, -1))) goto err;\n\t\t}\n\tif (n)\n\t        {\n\t\tif (!(cid->crlNum = ASN1_INTEGER_new())) goto err;\n\t\tif (!(ASN1_INTEGER_set(cid->crlNum, *n))) goto err;\n\t\t}\n\tif (tim)\n\t        {\n\t\tif (!(cid->crlTime = ASN1_GENERALIZEDTIME_new())) goto err;\n\t\tif (!(ASN1_GENERALIZEDTIME_set_string(cid->crlTime, tim)))\n\t\t        goto err;\n\t\t}\n\tx = X509V3_EXT_i2d(NID_id_pkix_OCSP_CrlID, 0, cid);\nerr:\n\tif (cid) OCSP_CRLID_free(cid);\n\treturn x;\n\t}', "int ASN1_STRING_set(ASN1_STRING *str, const void *_data, size_t len)\n\t{\n\tunsigned char *c;\n\tconst char *data=_data;\n\tif (len < 0)\n\t\t{\n\t\tif (data == NULL)\n\t\t\treturn(0);\n\t\telse\n\t\t\tlen=strlen(data);\n\t\t}\n\tif ((str->length < len) || (str->data == NULL))\n\t\t{\n\t\tc=str->data;\n\t\tif (c == NULL)\n\t\t\tstr->data=OPENSSL_malloc(len+1);\n\t\telse\n\t\t\tstr->data=OPENSSL_realloc(c,len+1);\n\t\tif (str->data == NULL)\n\t\t\t{\n\t\t\tASN1err(ASN1_F_ASN1_STRING_SET,ERR_R_MALLOC_FAILURE);\n\t\t\tstr->data=c;\n\t\t\treturn(0);\n\t\t\t}\n\t\t}\n\tstr->length=len;\n\tif (data != NULL)\n\t\t{\n\t\tmemcpy(str->data,data,len);\n\t\tstr->data[len]='\\0';\n\t\t}\n\treturn(1);\n\t}"]