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


ssl/d1_srvr.c:163:1: Parameter `s->ctx->sessions->num_items`
161.   			DTLSv1_2_enc_data)
162.   
163. > int dtls1_accept(SSL *s)
164.   	{
165.   	BUF_MEM *buf;

ssl/d1_srvr.c:317:8: Call
315.   
316.   			s->shutdown=0;
317.   			ret=ssl3_get_client_hello(s);
              ^
318.   			if (ret <= 0) goto end;
319.   			dtls1_stop_timer(s);

ssl/s3_srvr.c:919:1: Parameter `s->ctx->sessions->num_items`
  917.   }
  918.   
  919. > int ssl3_get_client_hello(SSL *s)
  920.   	{
  921.   	int i,j,ok,al=SSL_AD_INTERNAL_ERROR,ret= -1;

ssl/s3_srvr.c:1221:8: Call
  1219.   	if (s->version >= SSL3_VERSION)
  1220.   		{
  1221.   		if (!ssl_parse_clienthello_tlsext(s,&p,d,n))
                 ^
  1222.   			{
  1223.   			SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO,SSL_R_PARSE_TLSEXT);

ssl/t1_lib.c:2549:1: Parameter `s->ctx->sessions->num_items`
    2547.   	}
    2548.   
    2549. > int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, int n) 
    2550.   	{
    2551.   	int al = -1;

ssl/t1_lib.c:2554:3: Call
    2552.   	if (ssl_scan_clienthello_tlsext(s, p, d, n, &al) <= 0) 
    2553.   		{
    2554.   		ssl3_send_alert(s,SSL3_AL_FATAL,al); 
              ^
    2555.   		return 0;
    2556.   		}

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

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

ssl/ssl_sess.c:677:1: Parameter `ctx->sessions->num_items`
        675.   	}
        676.   
        677. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        678.   {
        679.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:679:9: Call
        677.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        678.   {
        679.   	return remove_session_lock(ctx, c, 1);
                       ^
        680.   }
        681.   

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

ssl/ssl_sess.c:693:6: Call
          691.   			{
          692.   			ret=1;
          693.   			r=lh_SSL_SESSION_delete(ctx->sessions,c);
                      ^
          694.   			SSL_SESSION_list_remove(ctx,c);
          695.   			}

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_client_hello` 
            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)))
