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


ssl/record/rec_layer_s3.c:974:1: Parameter `s->ctx->sessions->num_items`
972.    *             none of our business
973.    */
974. > int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
975.   {
976.       int al, i, j, ret;

ssl/record/rec_layer_s3.c:1043:15: Call
1041.       /* get new packet if necessary */
1042.       if ((rr->length == 0) || (s->rlayer.rstate == SSL_ST_READ_BODY)) {
1043.           ret = ssl3_get_record(s);
                      ^
1044.           if (ret <= 0)
1045.               return (ret);

ssl/record/ssl3_record.c:180:1: Parameter `s->ctx->sessions->num_items`
  178.    */
  179.   /* used only by ssl3_read_bytes */
  180. > int ssl3_get_record(SSL *s)
  181.   {
  182.       int ssl_major, ssl_minor, al;

ssl/record/ssl3_record.c:468:5: Call
  466.   
  467.    f_err:
  468.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  469.    err:
  470.       return (ret);

ssl/s3_msg.c:166:1: Parameter `s->ctx->sessions->num_items`
    164.   }
    165.   
    166. > int ssl3_send_alert(SSL *s, int level, int desc)
    167.   {
    168.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:177:9: Call
    175.       /* If a fatal one, remove from cache */
    176.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    177.           SSL_CTX_remove_session(s->ctx, s->session);
                   ^
    178.   
    179.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:675:1: Parameter `ctx->sessions->num_items`
      673.   }
      674.   
      675. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      676.   {
      677.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:677:12: Call
      675.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      676.   {
      677.       return remove_session_lock(ctx, c, 1);
                        ^
      678.   }
      679.   

ssl/ssl_sess.c:680:1: Parameter `ctx->sessions->num_items`
        678.   }
        679.   
        680. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        681.   {
        682.       SSL_SESSION *r;

ssl/ssl_sess.c:690:17: Call
        688.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        689.               ret = 1;
        690.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        691.               SSL_SESSION_list_remove(ctx, c);
        692.           }

crypto/lhash/lhash.c:211:1: <LHS trace>
209.   }
210.   
211. > void *lh_delete(_LHASH *lh, const void *data)
212.   {
213.       unsigned long hash;

crypto/lhash/lhash.c:211:1: Parameter `lh->num_items`
          209.   }
          210.   
          211. > void *lh_delete(_LHASH *lh, const void *data)
          212.   {
          213.       unsigned long hash;

crypto/lhash/lhash.c:231:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_record` 
          229.       }
          230.   
          231.       lh->num_items--;
                     ^
          232.       if ((lh->num_nodes > MIN_NODES) &&
          233.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
