ssl/d1_clnt.c:439: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->ctx->sessions->num_items`)] - 1):unsigned64 by call to `ssl3_get_certificate_request`.
Showing all 13 steps of the trace


ssl/d1_clnt.c:165:1: Parameter `s->ctx->sessions->num_items`
163.   			DTLSv1_2_enc_data)
164.   
165. > int dtls1_connect(SSL *s)
166.   	{
167.   	BUF_MEM *buf=NULL;

ssl/d1_clnt.c:439:8: Call
437.   		case SSL3_ST_CR_CERT_REQ_A:
438.   		case SSL3_ST_CR_CERT_REQ_B:
439.   			ret=ssl3_get_certificate_request(s);
              ^
440.   			if (ret <= 0) goto end;
441.   			s->state=SSL3_ST_CR_SRVR_DONE_A;

ssl/s3_clnt.c:2076:1: Parameter `s->ctx->sessions->num_items`
  2074.   	}
  2075.   
  2076. > int ssl3_get_certificate_request(SSL *s)
  2077.   	{
  2078.   	int ok,ret=0;

ssl/s3_clnt.c:2113:3: Call
  2111.   	if (s->s3->tmp.message_type != SSL3_MT_CERTIFICATE_REQUEST)
  2112.   		{
  2113.   		ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_UNEXPECTED_MESSAGE);
            ^
  2114.   		SSLerr(SSL_F_SSL3_GET_CERTIFICATE_REQUEST,SSL_R_WRONG_MESSAGE_TYPE);
  2115.   		goto err;

ssl/s3_pkt.c:1787:1: Parameter `s->ctx->sessions->num_items`
    1785.   	}
    1786.   
    1787. > int ssl3_send_alert(SSL *s, int level, int desc)
    1788.   	{
    1789.   	/* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1796:3: Call
    1794.   	/* If a fatal one, remove from cache */
    1795.   	if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    1796.   		SSL_CTX_remove_session(s->ctx,s->session);
              ^
    1797.   
    1798.   	s->s3->alert_dispatch=1;

ssl/ssl_sess.c:682:1: Parameter `ctx->sessions->num_items`
      680.   	}
      681.   
      682. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      683.   {
      684.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:684:9: Call
      682.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      683.   {
      684.   	return remove_session_lock(ctx, c, 1);
                     ^
      685.   }
      686.   

ssl/ssl_sess.c:687:1: Parameter `ctx->sessions->num_items`
        685.   }
        686.   
        687. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        688.   	{
        689.   	SSL_SESSION *r;

ssl/ssl_sess.c:698:6: Call
        696.   			{
        697.   			ret=1;
        698.   			r=lh_SSL_SESSION_delete(ctx->sessions,c);
                    ^
        699.   			SSL_SESSION_list_remove(ctx,c);
        700.   			}

crypto/lhash/lhash.c:217:1: <LHS trace>
215.   	}
216.   
217. > void *lh_delete(_LHASH *lh, const void *data)
218.   	{
219.   	unsigned long hash;

crypto/lhash/lhash.c:217:1: Parameter `lh->num_items`
          215.   	}
          216.   
          217. > void *lh_delete(_LHASH *lh, const void *data)
          218.   	{
          219.   	unsigned long hash;

crypto/lhash/lhash.c:240:2: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_certificate_request` 
          238.   		}
          239.   
          240.   	lh->num_items--;
                  ^
          241.   	if ((lh->num_nodes > MIN_NODES) &&
          242.   		(lh->down_load >= (lh->num_items*LH_LOAD_MULT/lh->num_nodes)))
