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


test/cipherlist_test.c:138:11: Call
136.       uint32_t expected_cipher_id, cipher_id;
137.   
138.       ssl = SSL_new(ctx);
                 ^
139.       OPENSSL_assert(ssl != NULL);
140.   

ssl/ssl_lib.c:522:1: Parameter `ctx->sessions->num_nodes`
  520.   }
  521.   
  522. > SSL *SSL_new(SSL_CTX *ctx)
  523.   {
  524.       SSL *s;

test/cipherlist_test.c:165:5: Call
163.    err:
164.       sk_SSL_CIPHER_free(ciphers);
165.       SSL_free(ssl);
           ^
166.       return ret;
167.   }

ssl/ssl_lib.c:963:1: Parameter `s->ctx->sessions->num_nodes`
  961.   }
  962.   
  963. > void SSL_free(SSL *s)
  964.   {
  965.       int i;

ssl/ssl_lib.c:1035:5: Call
  1033.       RECORD_LAYER_release(&s->rlayer);
  1034.   
  1035.       SSL_CTX_free(s->ctx);
              ^
  1036.   
  1037.       ASYNC_WAIT_CTX_free(s->waitctx);

ssl/ssl_lib.c:2466:1: Parameter `a->sessions->num_nodes`
    2464.   }
    2465.   
    2466. > void SSL_CTX_free(SSL_CTX *a)
    2467.   {
    2468.       int i;

ssl/ssl_lib.c:2492:9: Call
    2490.        */
    2491.       if (a->sessions != NULL)
    2492.           SSL_CTX_flush_sessions(a, 0);
                    ^
    2493.   
    2494.       CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data);

ssl/ssl_sess.c:968:1: Parameter `s->sessions->num_nodes`
      966.   IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
      967.   
      968. > void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
      969.   {
      970.       unsigned long i;

ssl/ssl_sess.c:981:5: Call
      979.       i = lh_SSL_SESSION_get_down_load(s->sessions);
      980.       lh_SSL_SESSION_set_down_load(s->sessions, 0);
      981.       lh_SSL_SESSION_doall_TIMEOUT_PARAM(tp.cache, timeout_cb, &tp);
                 ^
      982.       lh_SSL_SESSION_set_down_load(s->sessions, i);
      983.       CRYPTO_THREAD_unlock(s->lock);

ssl/ssl_sess.c:966:1: Parameter `lh->num_nodes`
        964.   }
        965.   
        966. > IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
        967.   
        968.   void SSL_CTX_flush_sessions(SSL_CTX *s, long t)

ssl/ssl_sess.c:966:1: Call
        964.   }
        965.   
        966. > IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
        967.   
        968.   void SSL_CTX_flush_sessions(SSL_CTX *s, long t)

crypto/lhash/lhash.c:182:1: Parameter `lh->num_nodes`
          180.   }
          181.   
          182. > void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg)
          183.   {
          184.       doall_util_fn(lh, 1, (OPENSSL_LH_DOALL_FUNC)0, func, arg);

crypto/lhash/lhash.c:184:5: Call
          182.   void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg)
          183.   {
          184.       doall_util_fn(lh, 1, (OPENSSL_LH_DOALL_FUNC)0, func, arg);
                     ^
          185.   }
          186.   

crypto/lhash/lhash.c:150:1: <LHS trace>
148.   }
149.   
150. > static void doall_util_fn(OPENSSL_LHASH *lh, int use_arg,
151.                             OPENSSL_LH_DOALL_FUNC func,
152.                             OPENSSL_LH_DOALL_FUNCARG func_arg, void *arg)

crypto/lhash/lhash.c:150:1: Parameter `lh->num_nodes`
            148.   }
            149.   
            150. > static void doall_util_fn(OPENSSL_LHASH *lh, int use_arg,
            151.                             OPENSSL_LH_DOALL_FUNC func,
            152.                             OPENSSL_LH_DOALL_FUNCARG func_arg, void *arg)

crypto/lhash/lhash.c:164:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `SSL_free` 
            162.        * memory leaks otherwise
            163.        */
            164.       for (i = lh->num_nodes - 1; i >= 0; i--) {
                            ^
            165.           a = lh->b[i];
            166.           while (a != NULL) {
