apps/s_client.c:997: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `SSL_free`.
Showing all 16 steps of the trace


apps/s_client.c:292:7: Call
290.   		bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
291.   
292.   	if (!load_config(bio_err, NULL))
             ^
293.   		goto end;
294.   

apps/apps.c:1384:1: Parameter `cnf->data->p`
  1382.   #endif
  1383.   
  1384. > int load_config(BIO *err, CONF *cnf)
  1385.   	{
  1386.   	if (!cnf)

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->p`
  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->p`
    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->p`
      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->pmax`
        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: 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((void *)ret);

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

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

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