test/recordlentest.c:140: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `SSL_accept`.
Showing all 21 steps of the trace


test/recordlentest.c:121:10: Call
119.       }
120.   
121.       if (!create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL, NULL)) {
                ^
122.           printf("Unable to create SSL objects\n");
123.           goto end;

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:523:1: Parameter `ctx->sessions->num_items`
    521.   }
    522.   
    523. > SSL *SSL_new(SSL_CTX *ctx)
    524.   {
    525.       SSL *s;

test/recordlentest.c:140:13: Call
138.           }
139.   
140.           if (SSL_accept(serverssl) > 0) {
                   ^
141.               printf("Unexpected success reading plaintext record\n");
142.               goto end;

ssl/ssl_lib.c:1460:1: Parameter `s->session_ctx->sessions->num_items`
  1458.   }
  1459.   
  1460. > int SSL_accept(SSL *s)
  1461.   {
  1462.       if (s->handshake_func == NULL) {

ssl/ssl_lib.c:1467:12: Call
  1465.       }
  1466.   
  1467.       return SSL_do_handshake(s);
                     ^
  1468.   }
  1469.   

ssl/ssl_lib.c:3246:1: Parameter `s->session_ctx->sessions->num_items`
    3244.   }
    3245.   
    3246. > int SSL_do_handshake(SSL *s)
    3247.   {
    3248.       int ret = 1;

ssl/ssl_lib.c:3258:17: Call
    3256.           int edfin;
    3257.   
    3258.           edfin = ssl_write_early_finish(s);
                            ^
    3259.           if (edfin <= 0)
    3260.               return edfin;

ssl/ssl_lib.c:1866:1: Parameter `s->session_ctx->sessions->num_items`
      1864.   }
      1865.   
      1866. > static int ssl_write_early_finish(SSL *s)
      1867.   {
      1868.       int ret;

ssl/ssl_lib.c:1876:11: Call
      1874.   
      1875.       s->early_data_state = SSL_EARLY_DATA_WRITING;
      1876.       ret = ssl3_send_alert(s, SSL3_AL_WARNING, SSL_AD_END_OF_EARLY_DATA);
                        ^
      1877.       if (ret <= 0) {
      1878.           s->early_data_state = SSL_EARLY_DATA_WRITE_RETRY;

ssl/s3_msg.c:63:1: Parameter `s->session_ctx->sessions->num_items`
        61.   }
        62.   
        63. > int ssl3_send_alert(SSL *s, int level, int desc)
        64.   {
        65.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:77:9: Call
        75.       /* If a fatal one, remove from cache */
        76.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
        77.           SSL_CTX_remove_session(s->session_ctx, s->session);
                      ^
        78.   
        79.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:724:1: Parameter `ctx->sessions->num_items`
          722.   }
          723.   
          724. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
          725.   {
          726.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:726:12: Call
          724.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
          725.   {
          726.       return remove_session_lock(ctx, c, 1);
                            ^
          727.   }
          728.   

ssl/ssl_sess.c:729:1: Parameter `ctx->sessions->num_items`
            727.   }
            728.   
            729. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
            730.   {
            731.       SSL_SESSION *r;

ssl/ssl_sess.c:739:17: Call
            737.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
            738.               ret = 1;
            739.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                                   ^
            740.               SSL_SESSION_list_remove(ctx, c);
            741.           }

ssl/ssl_locl.h:688:1: Parameter `lh->num_items`
              686.   } CLIENTHELLO_MSG;
              687.   
              688. > DEFINE_LHASH_OF(SSL_SESSION);
              689.   /* Needed in ssl_cert.c */
              690.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:688:1: Call
              686.   } CLIENTHELLO_MSG;
              687.   
              688. > DEFINE_LHASH_OF(SSL_SESSION);
              689.   /* Needed in ssl_cert.c */
              690.   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_accept` 
                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)))
