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


apps/s_client.c:542:6: Call
540.   		}
541.   
542.   	ctx=SSL_CTX_new(meth);
            ^
543.   	if (ctx == NULL)
544.   		{

ssl/ssl_lib.c:1372:16: Call
  1370.   	ret->client_cert_cb=0;
  1371.   
  1372.   	ret->sessions=lh_new(LHASH_HASH_FN(SSL_SESSION_hash),
                         ^
  1373.   			LHASH_COMP_FN(SSL_SESSION_cmp));
  1374.   	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:997:19: Call
995.   end:
996.   	if(prexit) print_stuff(bio_c_out,con,1);
997.   	if (con != NULL) SSL_free(con);
                          ^
998.   	if (con2 != NULL) SSL_free(con2);
999.   	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:694:1: Parameter `s->ctx->sessions->num_items`
    692.   	}
    693.   
    694. > int ssl_clear_bad_session(SSL *s)
    695.   	{
    696.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:700:3: Call
    698.   		!(SSL_in_init(s) || SSL_in_before(s)))
    699.   		{
    700.   		SSL_CTX_remove_session(s->ctx,s->session);
             ^
    701.   		return(1);
    702.   		}

ssl/ssl_sess.c:480:1: Parameter `ctx->sessions->num_items`
      478.   	}
      479.   
      480. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      481.   {
      482.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:482:9: Call
      480.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      481.   {
      482.   	return remove_session_lock(ctx, c, 1);
                     ^
      483.   }
      484.   

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

ssl/ssl_sess.c:496:21: Call
        494.   			{
        495.   			ret=1;
        496.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                   ^
        497.   			SSL_SESSION_list_remove(ctx,c);
        498.   			}

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