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


ssl/d1_clnt.c:144:1: Parameter `s->ctx->sessions->num_items`
142.   			dtls1_get_client_method)
143.   
144. > int dtls1_connect(SSL *s)
145.   	{
146.   	BUF_MEM *buf=NULL;

ssl/d1_clnt.c:249:8: Call
247.   		case SSL3_ST_CR_SRVR_HELLO_A:
248.   		case SSL3_ST_CR_SRVR_HELLO_B:
249.   			ret=ssl3_get_server_hello(s);
              ^
250.   			if (ret <= 0) goto end;
251.   			else

ssl/s3_clnt.c:664:1: Parameter `s->ctx->sessions->num_items`
  662.   	}
  663.   
  664. > int ssl3_get_server_hello(SSL *s)
  665.   	{
  666.   	STACK_OF(SSL_CIPHER) *sk;

ssl/s3_clnt.c:840:7: Call
  838.   			goto f_err; 
  839.   			}
  840.   		if (ssl_check_serverhello_tlsext(s) <= 0)
               ^
  841.   			{
  842.   			SSLerr(SSL_F_SSL3_CONNECT,SSL_R_SERVERHELLO_TLSEXT);

ssl/t1_lib.c:617:1: Parameter `s->ctx->sessions->num_items`
    615.   }
    616.   
    617. > int ssl_check_serverhello_tlsext(SSL *s)
    618.   	{
    619.   	int ret=SSL_TLSEXT_ERR_NOACK;

ssl/t1_lib.c:664:4: Call
    662.   	switch (ret) {
    663.   		case SSL_TLSEXT_ERR_ALERT_FATAL:
    664.   			ssl3_send_alert(s,SSL3_AL_FATAL,al); 
              ^
    665.   			return -1;
    666.   

ssl/s3_pkt.c:1269:1: Parameter `s->ctx->sessions->num_items`
      1267.   	}
      1268.   
      1269. > void ssl3_send_alert(SSL *s, int level, int desc)
      1270.   	{
      1271.   	/* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1278:3: Call
      1276.   	/* If a fatal one, remove from cache */
      1277.   	if ((level == 2) && (s->session != NULL))
      1278.   		SSL_CTX_remove_session(s->ctx,s->session);
                ^
      1279.   
      1280.   	s->s3->alert_dispatch=1;

ssl/ssl_sess.c:600:1: Parameter `ctx->sessions->num_items`
        598.   	}
        599.   
        600. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        601.   {
        602.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:602:9: Call
        600.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        601.   {
        602.   	return remove_session_lock(ctx, c, 1);
                       ^
        603.   }
        604.   

ssl/ssl_sess.c:605:1: Parameter `ctx->sessions->num_items`
          603.   }
          604.   
          605. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          606.   	{
          607.   	SSL_SESSION *r;

ssl/ssl_sess.c:616:21: Call
          614.   			{
          615.   			ret=1;
          616.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                     ^
          617.   			SSL_SESSION_list_remove(ctx,c);
          618.   			}

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, s->ctx->sessions->num_items] - 1):unsigned64 by call to `ssl3_get_server_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)))
