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


ssl/record/rec_layer_s3.c:994:1: Parameter `s->initial_ctx->sessions->num_items`
992.    *             none of our business
993.    */
994. > int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
995.                       size_t len, int peek, size_t *readbytes)
996.   {

ssl/record/rec_layer_s3.c:1075:19: Call
1073.           /* get new records if necessary */
1074.           if (num_recs == 0) {
1075.               ret = ssl3_get_record(s);
                          ^
1076.               if (ret <= 0)
1077.                   return ret;

ssl/record/ssl3_record.c:125:1: Parameter `s->initial_ctx->sessions->num_items`
  123.    */
  124.   /* used only by ssl3_read_bytes */
  125. > int ssl3_get_record(SSL *s)
  126.   {
  127.       int ssl_major, ssl_minor, al;

ssl/record/ssl3_record.c:520:5: Call
  518.   
  519.    f_err:
  520.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  521.    err:
  522.       return ret;

ssl/s3_msg.c:63:1: Parameter `s->initial_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:74:9: Call
    72.       /* If a fatal one, remove from cache */
    73.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    74.           SSL_CTX_remove_session(s->session_ctx, s->session);
                  ^
    75.   
    76.       s->s3->alert_dispatch = 1;

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:598:1: Parameter `lh->num_items`
          596.   };
          597.   
          598. > DEFINE_LHASH_OF(SSL_SESSION);
          599.   /* Needed in ssl_cert.c */
          600.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:598:1: Call
          596.   };
          597.   
          598. > DEFINE_LHASH_OF(SSL_SESSION);
          599.   /* Needed in ssl_cert.c */
          600.   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, max(0, s->initial_ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_record` 
            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)))
