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


apps/s_server.c:2048:15: Call
2046.   
2047.       if (con == NULL) {
2048.           con = SSL_new(ctx);
                      ^
2049.   
2050.           if (s_tlsextdebug) {

ssl/ssl_lib.c:518:1: Parameter `ctx->sessions->num_items`
  516.   }
  517.   
  518. > SSL *SSL_new(SSL_CTX *ctx)
  519.   {
  520.       SSL *s;

apps/s_server.c:2063:10: Call
2061.           }
2062.       }
2063.       if (!SSL_clear(con)) {
                 ^
2064.           BIO_printf(bio_err, "Error clearing SSL connection\n");
2065.           ret = -1;

ssl/ssl_lib.c:440:1: Parameter `s->ctx->sessions->num_items`
  438.   }
  439.   
  440. > int SSL_clear(SSL *s)
  441.   {
  442.       if (s->method == NULL) {

ssl/ssl_lib.c:447:9: Call
  445.       }
  446.   
  447.       if (ssl_clear_bad_session(s)) {
                 ^
  448.           SSL_SESSION_free(s->session);
  449.           s->session = NULL;

ssl/ssl_sess.c:992:1: Parameter `s->ctx->sessions->num_items`
    990.   }
    991.   
    992. > int ssl_clear_bad_session(SSL *s)
    993.   {
    994.       if ((s->session != NULL) &&

ssl/ssl_sess.c:997:9: Call
    995.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    996.           !(SSL_in_init(s) || SSL_in_before(s))) {
    997.           SSL_CTX_remove_session(s->ctx, s->session);
                    ^
    998.           return (1);
    999.       } else

ssl/ssl_sess.c:691:1: Parameter `ctx->sessions->num_items`
      689.   }
      690.   
      691. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      692.   {
      693.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:693:12: Call
      691.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      692.   {
      693.       return remove_session_lock(ctx, c, 1);
                        ^
      694.   }
      695.   

ssl/ssl_sess.c:696:1: Parameter `ctx->sessions->num_items`
        694.   }
        695.   
        696. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        697.   {
        698.       SSL_SESSION *r;

ssl/ssl_sess.c:706:17: Call
        704.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        705.               ret = 1;
        706.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        707.               SSL_SESSION_list_remove(ctx, c);
        708.           }

ssl/ssl_locl.h:581:1: Parameter `lh->num_items`
          579.   };
          580.   
          581. > DEFINE_LHASH_OF(SSL_SESSION);
          582.   /* Needed in ssl_cert.c */
          583.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:581:1: Call
          579.   };
          580.   
          581. > DEFINE_LHASH_OF(SSL_SESSION);
          582.   /* Needed in ssl_cert.c */
          583.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:103:1: <LHS trace>
101.   }
102.   
103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
104.   {
105.       unsigned long hash;

crypto/lhash/lhash.c:103:1: Parameter `lh->num_items`
            101.   }
            102.   
            103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
            104.   {
            105.       unsigned long hash;

crypto/lhash/lhash.c:123:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `SSL_clear` 
            121.       }
            122.   
            123.       lh->num_items--;
                       ^
            124.       if ((lh->num_nodes > MIN_NODES) &&
            125.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
