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


apps/s_server.c:1536:7: Call
1534.   
1535.   	if (con == NULL) {
1536.   		con=SSL_new(ctx);
              ^
1537.   #ifndef OPENSSL_NO_KRB5
1538.   		if ((con->kssl_ctx = kssl_ctx_new()) != NULL)

ssl/ssl_lib.c:264:1: Parameter `ctx->sessions->num_nodes`
  262.   	}
  263.   
  264. > SSL *SSL_new(SSL_CTX *ctx)
  265.   	{
  266.   	SSL *s;

apps/s_server.c:1550:2: Call
1548.   						 strlen((char *)context));
1549.   	}
1550.   	SSL_clear(con);
         ^
1551.   
1552.   	if (SSL_version(con) == DTLS1_VERSION)

ssl/ssl_lib.c:177:1: Parameter `s->ctx->sessions->num_nodes`
  175.   	};
  176.   
  177. > int SSL_clear(SSL *s)
  178.   	{
  179.   

apps/s_server.c:1824:3: Call
1822.   		SSL_shutdown(con);
1823.   #endif
1824.   		SSL_free(con);
          ^
1825.   		}
1826.   	BIO_printf(bio_s_out,"CONNECTION CLOSED\n");

ssl/ssl_lib.c:472:1: Parameter `s->initial_ctx->sessions->num_nodes`
  470.   	}
  471.   
  472. > void SSL_free(SSL *s)
  473.   	{
  474.   	int i;

ssl/ssl_lib.c:532:22: Call
  530.   	if (s->ctx) SSL_CTX_free(s->ctx);
  531.   #ifndef OPENSSL_NO_TLSEXT
  532.   	if (s->initial_ctx) SSL_CTX_free(s->initial_ctx);
                              ^
  533.   #endif
  534.   

ssl/ssl_lib.c:1557:1: Parameter `a->sessions->num_nodes`
    1555.   #endif
    1556.   
    1557. > void SSL_CTX_free(SSL_CTX *a)
    1558.   	{
    1559.   	int i;

ssl/ssl_lib.c:1589:3: Call
    1587.   	 */
    1588.   	if (a->sessions != NULL)
    1589.   		SSL_CTX_flush_sessions(a,0);
              ^
    1590.   
    1591.   	CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data);

ssl/ssl_sess.c:810:1: Parameter `s->sessions->num_nodes`
      808.   static IMPLEMENT_LHASH_DOALL_ARG_FN(timeout, SSL_SESSION *, TIMEOUT_PARAM *)
      809.   
      810. > void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
      811.   	{
      812.   	unsigned long i;

ssl/ssl_sess.c:822:2: Call
      820.   	i=tp.cache->down_load;
      821.   	tp.cache->down_load=0;
      822.   	lh_doall_arg(tp.cache, LHASH_DOALL_ARG_FN(timeout), &tp);
              ^
      823.   	tp.cache->down_load=i;
      824.   	CRYPTO_w_unlock(CRYPTO_LOCK_SSL_CTX);

crypto/lhash/lhash.c:300:1: Parameter `lh->num_nodes`
        298.   	}
        299.   
        300. > void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
        301.   	{
        302.   	doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)0, func, arg);

crypto/lhash/lhash.c:302:2: Call
        300.   void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
        301.   	{
        302.   	doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)0, func, arg);
                ^
        303.   	}
        304.   

crypto/lhash/lhash.c:270:1: <LHS trace>
268.   	}
269.   
270. > static void doall_util_fn(LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func,
271.   			  LHASH_DOALL_ARG_FN_TYPE func_arg, void *arg)
272.   	{

crypto/lhash/lhash.c:270:1: Parameter `lh->num_nodes`
          268.   	}
          269.   
          270. > static void doall_util_fn(LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func,
          271.   			  LHASH_DOALL_ARG_FN_TYPE func_arg, void *arg)
          272.   	{

crypto/lhash/lhash.c:278:7: Binary operation: ([0, +oo] - 1):unsigned32 by call to `SSL_free` 
          276.   	/* reverse the order so we search from 'top to bottom'
          277.   	 * We were having memory leaks otherwise */
          278.   	for (i=lh->num_nodes-1; i>=0; i--)
                       ^
          279.   		{
          280.   		a=lh->b[i];
