ssl/d1_clnt.c:474: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 10):unsigned64 by call to `ssl3_send_client_certificate`.
Showing all 13 steps of the trace


ssl/d1_clnt.c:158:1: Parameter `s->init_buf->length`
156.   			DTLSv1_2_enc_data)
157.   
158. > int dtls1_connect(SSL *s)
159.   	{
160.   	BUF_MEM *buf=NULL;

ssl/d1_clnt.c:474:8: Call
472.   		case SSL3_ST_CW_CERT_D:
473.   			dtls1_start_timer(s);
474.   			ret=ssl3_send_client_certificate(s);
              ^
475.   			if (ret <= 0) goto end;
476.   			s->state=SSL3_ST_CW_KEY_EXCH_A;

ssl/s3_clnt.c:3230:1: Parameter `s->init_buf->length`
  3228.   	}
  3229.   
  3230. > int ssl3_send_client_certificate(SSL *s)
  3231.   	{
  3232.   	X509 *x509=NULL;

ssl/s3_clnt.c:3303:3: Call
  3301.   		{
  3302.   		s->state=SSL3_ST_CW_CERT_D;
  3303.   		ssl3_output_cert_chain(s,
            ^
  3304.   			(s->s3->tmp.cert_req == 2)?NULL:s->cert->key);
  3305.   		}

ssl/s3_both.c:317:1: Parameter `s->init_buf->length`
    315.   	}
    316.   
    317. > unsigned long ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk)
    318.   	{
    319.   	unsigned char *p;

ssl/s3_both.c:322:7: Call
    320.   	unsigned long l = 3 + SSL_HM_HEADER_LENGTH(s);
    321.   
    322.   	if (!ssl_add_cert_chain(s, cpk, &l))
                 ^
    323.   		return 0;
    324.   

ssl/ssl_cert.c:1053:1: Parameter `s->init_buf->length`
      1051.   
      1052.   /* Add certificate chain to internal SSL BUF_MEM strcuture */
      1053. > int ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l)
      1054.   	{
      1055.   	BUF_MEM *buf = s->init_buf;

ssl/ssl_cert.c:1087:7: Call
      1085.   
      1086.   	/* TLSv1 sends a chain with nothing in it, instead of an alert */
      1087.   	if (!BUF_MEM_grow_clean(buf,10))
                    ^
      1088.   		{
      1089.   		SSLerr(SSL_F_SSL_ADD_CERT_CHAIN,ERR_R_BUF_LIB);

crypto/buffer/buffer.c:139:1: <LHS trace>
137.   	}
138.   
139. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
140.   	{
141.   	char *ret;

crypto/buffer/buffer.c:139:1: Parameter `len`
        137.   	}
        138.   
        139. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
        140.   	{
        141.   	char *ret;

crypto/buffer/buffer.c:139:1: <RHS trace>
137.   	}
138.   
139. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
140.   	{
141.   	char *ret;

crypto/buffer/buffer.c:139:1: Parameter `len`
        137.   	}
        138.   
        139. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
        140.   	{
        141.   	char *ret;

crypto/buffer/buffer.c:146:3: Binary operation: ([0, +oo] - 10):unsigned64 by call to `ssl3_send_client_certificate` 
        144.   	if (str->length >= len)
        145.   		{
        146.   		memset(&str->data[len],0,str->length-len);
                 ^
        147.   		str->length=len;
        148.   		return(len);
