ssl/record/rec_layer_s3.c:1171: 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:1090:1: Parameter `s->initial_ctx->sessions->num_items`
1088.    *             none of our business
1089.    */
1090. > int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
1091.                       size_t len, int peek, size_t *readbytes)
1092.   {

ssl/record/rec_layer_s3.c:1171:19: Call
1169.           /* get new records if necessary */
1170.           if (num_recs == 0) {
1171.               ret = ssl3_get_record(s);
                          ^
1172.               if (ret <= 0)
1173.                   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 al;

ssl/record/ssl3_record.c:572:5: Call
  570.   
  571.    f_err:
  572.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  573.    err:
  574.       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:715:1: Parameter `ctx->sessions->num_items`
      713.   }
      714.   
      715. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      716.   {
      717.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:717:12: Call
      715.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      716.   {
      717.       return remove_session_lock(ctx, c, 1);
                        ^
      718.   }
      719.   

ssl/ssl_sess.c:720:1: Parameter `ctx->sessions->num_items`
        718.   }
        719.   
        720. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        721.   {
        722.       SSL_SESSION *r;

ssl/ssl_sess.c:730:17: Call
        728.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        729.               ret = 1;
        730.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        731.               SSL_SESSION_list_remove(ctx, c);
        732.           }

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

ssl/ssl_locl.h:605:1: Call
          603.   };
          604.   
          605. > DEFINE_LHASH_OF(SSL_SESSION);
          606.   /* Needed in ssl_cert.c */
          607.   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)))
