apps/s_client.c:1066: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `SSL_free`.
Showing all 15 steps of the trace


apps/s_client.c:568:6: Call
566.   		}
567.   
568.   	ctx=SSL_CTX_new(meth);
            ^
569.   	if (ctx == NULL)
570.   		{

ssl/ssl_lib.c:1403:16: Call
  1401.   	ret->app_verify_cookie_cb=0;
  1402.   
  1403.   	ret->sessions=lh_new(LHASH_HASH_FN(SSL_SESSION_hash),
                         ^
  1404.   			LHASH_COMP_FN(SSL_SESSION_cmp));
  1405.   	if (ret->sessions == NULL) goto err;

crypto/lhash/lhash.c:133:2: Assignment
    131.   	ret->up_load=UP_LOAD;
    132.   	ret->down_load=DOWN_LOAD;
    133.   	ret->num_items=0;
            ^
    134.   
    135.   	ret->num_expands=0;

apps/s_client.c:1066:19: Call
1064.   end:
1065.   	if(prexit) print_stuff(bio_c_out,con,1);
1066.   	if (con != NULL) SSL_free(con);
                          ^
1067.   	if (con2 != NULL) SSL_free(con2);
1068.   	if (ctx != NULL) SSL_CTX_free(ctx);

ssl/ssl_lib.c:427:1: Parameter `s->ctx->sessions->num_items`
  425.   	}
  426.   
  427. > void SSL_free(SSL *s)
  428.   	{
  429.   	int i;

ssl/ssl_lib.c:476:3: Call
  474.   	if (s->session != NULL)
  475.   		{
  476.   		ssl_clear_bad_session(s);
           ^
  477.   		SSL_SESSION_free(s->session);
  478.   		}

ssl/ssl_sess.c:700:1: Parameter `s->ctx->sessions->num_items`
    698.   	}
    699.   
    700. > int ssl_clear_bad_session(SSL *s)
    701.   	{
    702.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:706:3: Call
    704.   		!(SSL_in_init(s) || SSL_in_before(s)))
    705.   		{
    706.   		SSL_CTX_remove_session(s->ctx,s->session);
             ^
    707.   		return(1);
    708.   		}

ssl/ssl_sess.c:486:1: Parameter `ctx->sessions->num_items`
      484.   	}
      485.   
      486. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      487.   {
      488.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:488:9: Call
      486.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      487.   {
      488.   	return remove_session_lock(ctx, c, 1);
                     ^
      489.   }
      490.   

ssl/ssl_sess.c:491:1: Parameter `ctx->sessions->num_items`
        489.   }
        490.   
        491. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        492.   	{
        493.   	SSL_SESSION *r;

ssl/ssl_sess.c:502:21: Call
        500.   			{
        501.   			ret=1;
        502.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                   ^
        503.   			SSL_SESSION_list_remove(ctx,c);
        504.   			}

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 - 1):unsigned64 by call to `SSL_free` 
          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)))
