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


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:1466:7: Call
1464.   	if (s->version >= SSL3_VERSION)
1465.   		{
1466.   		if (ssl_check_clienthello_tlsext_late(s) <= 0)
              ^
1467.   			{
1468.   			SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_CLIENTHELLO_TLSEXT);

ssl/t1_lib.c:3071:1: Parameter `s->ctx->sessions->num_items`
  3069.   	}
  3070.   
  3071. > int ssl_check_clienthello_tlsext_late(SSL *s)
  3072.   	{
  3073.   	int ret = SSL_TLSEXT_ERR_OK;

ssl/t1_lib.c:3124:4: Call
  3122.   		{
  3123.   		case SSL_TLSEXT_ERR_ALERT_FATAL:
  3124.   			ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  3125.   			return -1;
  3126.   

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