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


ssl/s3_clnt.c:1376:1: Parameter `s->ctx->sessions->num_items`
1374.   	}
1375.   
1376. > static int ssl3_get_server_done(SSL *s)
1377.   	{
1378.   	int ok,ret=0;

ssl/s3_clnt.c:1381:4: Call
1379.   	long n;
1380.   
1381.   	n=ssl3_get_message(s,
           ^
1382.   		SSL3_ST_CR_SRVR_DONE_A,
1383.   		SSL3_ST_CR_SRVR_DONE_B,

ssl/s3_both.c:346:1: Parameter `s->ctx->sessions->num_items`
  344.    * the body is read in state 'stn'.
  345.    */
  346. > long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok)
  347.   	{
  348.   	unsigned char *p;

ssl/s3_clnt.c:1392:3: Call
1390.   		{
1391.   		/* should contain no data */
1392.   		ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECODE_ERROR);
          ^
1393.   		SSLerr(SSL_F_SSL3_GET_SERVER_DONE,SSL_R_LENGTH_MISMATCH);
1394.   		return -1;

ssl/s3_pkt.c:1187:1: Parameter `s->ctx->sessions->num_items`
  1185.   	}
  1186.   
  1187. > void ssl3_send_alert(SSL *s, int level, int desc)
  1188.   	{
  1189.   	/* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1196:3: Call
  1194.   	/* If a fatal one, remove from cache */
  1195.   	if ((level == 2) && (s->session != NULL))
  1196.   		SSL_CTX_remove_session(s->ctx,s->session);
            ^
  1197.   
  1198.   	s->s3->alert_dispatch=1;

ssl/ssl_sess.c:464:1: Parameter `ctx->sessions->num_items`
    462.   	}
    463.   
    464. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    465.   {
    466.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:466:9: Call
    464.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    465.   {
    466.   	return remove_session_lock(ctx, c, 1);
                   ^
    467.   }
    468.   

ssl/ssl_sess.c:469:1: Parameter `ctx->sessions->num_items`
      467.   }
      468.   
      469. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
      470.   	{
      471.   	SSL_SESSION *r;

ssl/ssl_sess.c:480:21: Call
      478.   			{
      479.   			ret=1;
      480.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                 ^
      481.   			SSL_SESSION_list_remove(ctx,c);
      482.   			}

crypto/lhash/lhash.c:217:1: <LHS trace>
215.   	}
216.   
217. > void *lh_delete(LHASH *lh, const void *data)
218.   	{
219.   	unsigned long hash;

crypto/lhash/lhash.c:217:1: Parameter `lh->num_items`
        215.   	}
        216.   
        217. > void *lh_delete(LHASH *lh, const void *data)
        218.   	{
        219.   	unsigned long hash;

crypto/lhash/lhash.c:240:2: Binary operation: ([0, s->ctx->sessions->num_items] - 1):unsigned64 by call to `ssl3_send_alert` 
        238.   		}
        239.   
        240.   	lh->num_items--;
                ^
        241.   	if ((lh->num_nodes > MIN_NODES) &&
        242.   		(lh->down_load >= (lh->num_items*LH_LOAD_MULT/lh->num_nodes)))
