test/sslapitest.c:4016: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `SSL_free`.
Showing all 17 steps of the trace


test/sslapitest.c:3973:18: Call
3971.               }
3972.   
3973.               if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
                         ^
3974.                                                 &clientssl, NULL, NULL)))
3975.                   goto end;

test/ssltestlib.c:893:15: Call
  891.       if (*sssl != NULL)
  892.           serverssl = *sssl;
  893.       else if (!TEST_ptr(serverssl = SSL_new(serverctx)))
                       ^
  894.           goto error;
  895.       if (*cssl != NULL)

ssl/ssl_lib.c:679:1: Parameter `ctx->sessions->num_items`
    677.   }
    678.   
    679. > SSL *SSL_new(SSL_CTX *ctx)
    680.   {
    681.       SSL *s;

test/sslapitest.c:4016:13: Call
4014.   # endif
4015.   
4016.               SSL_free(serverssl);
                    ^
4017.               serverssl = NULL;
4018.               SSL_free(clientssl);

ssl/ssl_lib.c:1145:1: Parameter `s->session_ctx->sessions->num_items`
  1143.   }
  1144.   
  1145. > void SSL_free(SSL *s)
  1146.   {
  1147.       int i;

ssl/ssl_lib.c:1181:9: Call
  1179.       /* Make the next call work :-) */
  1180.       if (s->session != NULL) {
  1181.           ssl_clear_bad_session(s);
                  ^
  1182.           SSL_SESSION_free(s->session);
  1183.       }

ssl/ssl_sess.c:1087:1: Parameter `s->session_ctx->sessions->num_items`
    1085.   }
    1086.   
    1087. > int ssl_clear_bad_session(SSL *s)
    1088.   {
    1089.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1092:9: Call
    1090.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1091.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1092.           SSL_CTX_remove_session(s->session_ctx, s->session);
                    ^
    1093.           return 1;
    1094.       } else

ssl/ssl_sess.c:714:1: Parameter `ctx->sessions->num_items`
      712.   }
      713.   
      714. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      715.   {
      716.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:716:12: Call
      714.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      715.   {
      716.       return remove_session_lock(ctx, c, 1);
                        ^
      717.   }
      718.   

ssl/ssl_sess.c:719:1: Parameter `ctx->sessions->num_items`
        717.   }
        718.   
        719. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        720.   {
        721.       SSL_SESSION *r;

ssl/ssl_sess.c:729:17: Call
        727.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) != NULL) {
        728.               ret = 1;
        729.               r = lh_SSL_SESSION_delete(ctx->sessions, r);
                               ^
        730.               SSL_SESSION_list_remove(ctx, r);
        731.           }

ssl/ssl_locl.h:728:1: Parameter `lh->num_items`
          726.   } TLSEXT_INDEX;
          727.   
          728. > DEFINE_LHASH_OF(SSL_SESSION);
          729.   /* Needed in ssl_cert.c */
          730.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:728:1: Call
          726.   } TLSEXT_INDEX;
          727.   
          728. > DEFINE_LHASH_OF(SSL_SESSION);
          729.   /* Needed in ssl_cert.c */
          730.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:137:1: <LHS trace>
135.   }
136.   
137. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
138.   {
139.       unsigned long hash;

crypto/lhash/lhash.c:137:1: Parameter `lh->num_items`
            135.   }
            136.   
            137. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
            138.   {
            139.       unsigned long hash;

crypto/lhash/lhash.c:157:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `SSL_free` 
            155.       }
            156.   
            157.       lh->num_items--;
                       ^
            158.       if ((lh->num_nodes > MIN_NODES) &&
            159.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
