ssl/record/rec_layer_s3.c:1511: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->session_ctx->sessions->num_items`)] - 1):unsigned64 by call to `ssl3_send_alert`.
Showing all 13 steps of the trace


ssl/record/rec_layer_s3.c:1199:1: Parameter `s->session_ctx->sessions->num_items`
1197.    *             none of our business
1198.    */
1199. > int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
1200.                       size_t len, int peek, size_t *readbytes)
1201.   {

ssl/record/rec_layer_s3.c:1511:9: Call
1509.           SSL3_RECORD_set_length(rr, 0);
1510.           SSL3_RECORD_set_read(rr);
1511.           ssl3_send_alert(s, SSL3_AL_WARNING, SSL_AD_NO_RENEGOTIATION);
                ^
1512.           goto start;
1513.       }

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

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

ssl/ssl_sess.c:737:1: Parameter `ctx->sessions->num_items`
    735.   }
    736.   
    737. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    738.   {
    739.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:739:12: Call
    737.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    738.   {
    739.       return remove_session_lock(ctx, c, 1);
                      ^
    740.   }
    741.   

ssl/ssl_sess.c:742:1: Parameter `ctx->sessions->num_items`
      740.   }
      741.   
      742. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
      743.   {
      744.       SSL_SESSION *r;

ssl/ssl_sess.c:752:17: Call
      750.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
      751.               ret = 1;
      752.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                             ^
      753.               SSL_SESSION_list_remove(ctx, c);
      754.           }

ssl/ssl_locl.h:713:1: Parameter `lh->num_items`
        711.   } TLSEXT_INDEX;
        712.   
        713. > DEFINE_LHASH_OF(SSL_SESSION);
        714.   /* Needed in ssl_cert.c */
        715.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:713:1: Call
        711.   } TLSEXT_INDEX;
        712.   
        713. > DEFINE_LHASH_OF(SSL_SESSION);
        714.   /* Needed in ssl_cert.c */
        715.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:119:1: <LHS trace>
117.   }
118.   
119. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
120.   {
121.       unsigned long hash;

crypto/lhash/lhash.c:119:1: Parameter `lh->num_items`
          117.   }
          118.   
          119. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
          120.   {
          121.       unsigned long hash;

crypto/lhash/lhash.c:139:5: Binary operation: ([0, max(0, s->session_ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_send_alert` 
          137.       }
          138.   
          139.       lh->num_items--;
                     ^
          140.       if ((lh->num_nodes > MIN_NODES) &&
          141.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
