ssl/ssl_sess.c:266: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `SSL_CTX_remove_session`.
Showing all 11 steps of the trace


ssl/ssl_sess.c:186:1: Parameter `s->ctx->sessions->p`
184.   	}
185.   
186. > int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len)
187.   	{
188.   	/* This is used only by servers. */

ssl/ssl_sess.c:266:3: Call
264.   		s->ctx->stats.sess_timeout++;
265.   		/* remove it from the cache */
266.   		SSL_CTX_remove_session(s->ctx,ret);
         ^
267.   		SSL_SESSION_free(ret);		/* again to actually Free it */
268.   		return(0);

ssl/ssl_sess.c:328:1: Parameter `ctx->sessions->p`
  326.   	}
  327.   
  328. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
  329.   {
  330.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:330:9: Call
  328.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
  329.   {
  330.   	return remove_session_lock(ctx, c, 1);
                 ^
  331.   }
  332.   

ssl/ssl_sess.c:333:1: Parameter `ctx->sessions->p`
    331.   }
    332.   
    333. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
    334.   	{
    335.   	SSL_SESSION *r;

ssl/ssl_sess.c:341:20: Call
    339.   		{
    340.   		if(lck) CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX);
    341.   		r=(SSL_SESSION *)lh_delete(ctx->sessions,(char *)c);
                              ^
    342.   		if (r != NULL)
    343.   			{

crypto/lhash/lhash.c:220:1: Parameter `lh->pmax`
      218.   	}
      219.   
      220. > char *lh_delete(LHASH *lh, char *data)
      221.   	{
      222.   	unsigned long hash;

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

crypto/lhash/lhash.c:355:1: <LHS trace>
353.   	}
354.   
355. > static void contract(LHASH *lh)
356.   	{
357.   	LHASH_NODE **n,*n1,*np;

crypto/lhash/lhash.c:355:1: Parameter `lh->p`
        353.   	}
        354.   
        355. > static void contract(LHASH *lh)
        356.   	{
        357.   	LHASH_NODE **n,*n1,*np;

crypto/lhash/lhash.c:359:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `SSL_CTX_remove_session` 
        357.   	LHASH_NODE **n,*n1,*np;
        358.   
        359.   	np=lh->b[lh->p+lh->pmax-1];
                   ^
        360.   	lh->b[lh->p+lh->pmax-1]=NULL; /* 24/07-92 - eay - weird but :-( */
        361.   	if (lh->p == 0)
