ssl/ssl_lib.c:998: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->initial_ctx->sessions->num_nodes`)] - 1):unsigned32 by call to `SSL_CTX_free`.
Showing all 13 steps of the trace


ssl/ssl_lib.c:958:1: Parameter `s->initial_ctx->sessions->num_nodes`
956.   }
957.   
958. > void SSL_free(SSL *s)
959.   {
960.       int i;

ssl/ssl_lib.c:998:5: Call
996.   
997.       OPENSSL_free(s->ext.hostname);
998.       SSL_CTX_free(s->initial_ctx);
            ^
999.   #ifndef OPENSSL_NO_EC
1000.       OPENSSL_free(s->ext.ecpointformats);

ssl/ssl_lib.c:2568:1: Parameter `a->sessions->num_nodes`
  2566.   }
  2567.   
  2568. > void SSL_CTX_free(SSL_CTX *a)
  2569.   {
  2570.       int i;

ssl/ssl_lib.c:2594:9: Call
  2592.        */
  2593.       if (a->sessions != NULL)
  2594.           SSL_CTX_flush_sessions(a, 0);
                  ^
  2595.   
  2596.       CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data);

ssl/ssl_sess.c:1003:1: Parameter `s->sessions->num_nodes`
    1001.   IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
    1002.   
    1003. > void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
    1004.   {
    1005.       unsigned long i;

ssl/ssl_sess.c:1016:5: Call
    1014.       i = lh_SSL_SESSION_get_down_load(s->sessions);
    1015.       lh_SSL_SESSION_set_down_load(s->sessions, 0);
    1016.       lh_SSL_SESSION_doall_TIMEOUT_PARAM(tp.cache, timeout_cb, &tp);
                ^
    1017.       lh_SSL_SESSION_set_down_load(s->sessions, i);
    1018.       CRYPTO_THREAD_unlock(s->lock);

ssl/ssl_sess.c:1001:1: Parameter `lh->num_nodes`
      999.   }
      1000.   
      1001. > IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
      1002.   
      1003.   void SSL_CTX_flush_sessions(SSL_CTX *s, long t)

ssl/ssl_sess.c:1001:1: Call
      999.   }
      1000.   
      1001. > IMPLEMENT_LHASH_DOALL_ARG(SSL_SESSION, TIMEOUT_PARAM);
      1002.   
      1003.   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, max(0, s->initial_ctx->sessions->num_nodes)] - 1):unsigned32 by call to `SSL_CTX_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) {
