ssl/d1_clnt.c:249: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `ssl3_get_server_hello`.
Showing all 17 steps of the trace


ssl/d1_clnt.c:144:1: Parameter `s->ctx->sessions->p`
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:658:1: Parameter `s->ctx->sessions->p`
  656.   	}
  657.   
  658. > int ssl3_get_server_hello(SSL *s)
  659.   	{
  660.   	STACK_OF(SSL_CIPHER) *sk;

ssl/s3_clnt.c:834:7: Call
  832.   			goto f_err; 
  833.   			}
  834.   		if (ssl_check_serverhello_tlsext(s) <= 0)
               ^
  835.   			{
  836.   			SSLerr(SSL_F_SSL3_CONNECT,SSL_R_SERVERHELLO_TLSEXT);

ssl/t1_lib.c:795:1: Parameter `s->ctx->sessions->p`
    793.   	}
    794.   
    795. > int ssl_check_serverhello_tlsext(SSL *s)
    796.   	{
    797.   	int ret=SSL_TLSEXT_ERR_NOACK;

ssl/t1_lib.c:844:4: Call
    842.   		{
    843.   		case SSL_TLSEXT_ERR_ALERT_FATAL:
    844.   			ssl3_send_alert(s,SSL3_AL_FATAL,al); 
              ^
    845.   			return -1;
    846.   

ssl/s3_pkt.c:1317:1: Parameter `s->ctx->sessions->p`
      1315.   	}
      1316.   
      1317. > void ssl3_send_alert(SSL *s, int level, int desc)
      1318.   	{
      1319.   	/* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1326:3: Call
      1324.   	/* If a fatal one, remove from cache */
      1325.   	if ((level == 2) && (s->session != NULL))
      1326.   		SSL_CTX_remove_session(s->ctx,s->session);
                ^
      1327.   
      1328.   	s->s3->alert_dispatch=1;

ssl/ssl_sess.c:614:1: Parameter `ctx->sessions->p`
        612.   	}
        613.   
        614. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        615.   {
        616.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:616:9: Call
        614.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        615.   {
        616.   	return remove_session_lock(ctx, c, 1);
                       ^
        617.   }
        618.   

ssl/ssl_sess.c:619:1: Parameter `ctx->sessions->pmax`
          617.   }
          618.   
          619. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          620.   	{
          621.   	SSL_SESSION *r;

ssl/ssl_sess.c:630:21: Call
          628.   			{
          629.   			ret=1;
          630.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                     ^
          631.   			SSL_SESSION_list_remove(ctx,c);
          632.   			}

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

crypto/lhash/lhash.c:243:3: Call
            241.   	if ((lh->num_nodes > MIN_NODES) &&
            242.   		(lh->down_load >= (lh->num_items*LH_LOAD_MULT/lh->num_nodes)))
            243.   		contract(lh);
                     ^
            244.   
            245.   	return(ret);

crypto/lhash/lhash.c:364:1: <LHS trace>
362.   	}
363.   
364. > static void contract(LHASH *lh)
365.   	{
366.   	LHASH_NODE **n,*n1,*np;

crypto/lhash/lhash.c:364:1: Parameter `lh->p`
              362.   	}
              363.   
              364. > static void contract(LHASH *lh)
              365.   	{
              366.   	LHASH_NODE **n,*n1,*np;

crypto/lhash/lhash.c:368:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ssl3_get_server_hello` 
              366.   	LHASH_NODE **n,*n1,*np;
              367.   
              368.   	np=lh->b[lh->p+lh->pmax-1];
                         ^
              369.   	lh->b[lh->p+lh->pmax-1]=NULL; /* 24/07-92 - eay - weird but :-( */
              370.   	if (lh->p == 0)
