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


test/dtlstest.c:69:10: Call
67.   
68.       /* BIO is freed by create_ssl_connection on error */
69.       if (!create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1, NULL,
               ^
70.                                  c_to_s_fbio)) {
71.           printf("Unable to create SSL objects\n");

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

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

test/dtlstest.c:99:5: Call
97.       testresult = 1;
98.    end:
99.       SSL_free(serverssl1);
           ^
100.       SSL_free(clientssl1);
101.       SSL_CTX_free(sctx);

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

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

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

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

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

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

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

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

ssl/ssl_locl.h:595:1: Parameter `lh->num_items`
          593.   };
          594.   
          595. > DEFINE_LHASH_OF(SSL_SESSION);
          596.   /* Needed in ssl_cert.c */
          597.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:595:1: Call
          593.   };
          594.   
          595. > DEFINE_LHASH_OF(SSL_SESSION);
          596.   /* Needed in ssl_cert.c */
          597.   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)))
