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


test/sslcorrupttest.c:206:10: Call
204.   
205.       /* BIO is freed by create_ssl_connection on error */
206.       if (!create_ssl_objects(sctx, cctx, &server, &client, NULL,
                ^
207.                               c_to_s_fbio)) {
208.           printf("Unable to create SSL objects\n");

test/ssltestlib.c:579:21: Call
  577.   
  578.       if (*sssl == NULL)
  579.           serverssl = SSL_new(serverctx);
                             ^
  580.       else
  581.           serverssl = *sssl;

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

test/sslcorrupttest.c:238:5: Call
236.       testresult = 1;
237.    end:
238.       SSL_free(server);
           ^
239.       SSL_free(client);
240.       SSL_CTX_free(sctx);

ssl/ssl_lib.c:961:1: Parameter `s->initial_ctx->sessions->num_items`
  959.   }
  960.   
  961. > void SSL_free(SSL *s)
  962.   {
  963.       int i;

ssl/ssl_lib.c:991:9: Call
  989.       /* Make the next call work :-) */
  990.       if (s->session != NULL) {
  991.           ssl_clear_bad_session(s);
                 ^
  992.           SSL_SESSION_free(s->session);
  993.       }

ssl/ssl_sess.c:1009:1: Parameter `s->initial_ctx->sessions->num_items`
    1007.   }
    1008.   
    1009. > int ssl_clear_bad_session(SSL *s)
    1010.   {
    1011.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1014:9: Call
    1012.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1013.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1014.           SSL_CTX_remove_session(s->session_ctx, s->session);
                    ^
    1015.           return (1);
    1016.       } else

ssl/ssl_sess.c:698:1: Parameter `ctx->sessions->num_items`
      696.   }
      697.   
      698. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      699.   {
      700.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:700:12: Call
      698.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      699.   {
      700.       return remove_session_lock(ctx, c, 1);
                        ^
      701.   }
      702.   

ssl/ssl_sess.c:703:1: Parameter `ctx->sessions->num_items`
        701.   }
        702.   
        703. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        704.   {
        705.       SSL_SESSION *r;

ssl/ssl_sess.c:713:17: Call
        711.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        712.               ret = 1;
        713.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        714.               SSL_SESSION_list_remove(ctx, c);
        715.           }

ssl/ssl_locl.h:602:1: Parameter `lh->num_items`
          600.   };
          601.   
          602. > DEFINE_LHASH_OF(SSL_SESSION);
          603.   /* Needed in ssl_cert.c */
          604.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:602:1: Call
          600.   };
          601.   
          602. > DEFINE_LHASH_OF(SSL_SESSION);
          603.   /* Needed in ssl_cert.c */
          604.   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_free` 
            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)))
