apps/ocsp.c:888: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `SSL_CTX_free`.
Showing all 15 steps of the trace


apps/ocsp.c:687:9: Call
685.   	if (ridx_filename && !rdb)
686.   		{
687.   		rdb = load_index(ridx_filename, NULL);
               ^
688.   		if (!rdb) goto end;
689.   		if (!index_index(rdb)) goto end;

apps/apps.c:1651:13: Call
  1649.    err:
  1650.   	if (dbattr_conf) NCONF_free(dbattr_conf);
  1651.   	if (tmpdb) TXT_DB_free(tmpdb);
                      ^
  1652.   	if (in) BIO_free_all(in);
  1653.   	return retdb;

crypto/txt_db/txt_db.c:340:1: Parameter `(*db->index)->num_nodes`
    338.   	}
    339.   
    340. > void TXT_DB_free(TXT_DB *db)
    341.   	{
    342.   	int i,n;

apps/ocsp.c:871:2: Call
869.   	X509_free(rsigner);
870.   	X509_free(rca_cert);
871.   	free_index(rdb);
        ^
872.   	BIO_free_all(cbio);
873.   	BIO_free_all(acbio);

apps/apps.c:1876:1: Parameter `(*db->db->index)->num_nodes`
  1874.   	}
  1875.   
  1876. > void free_index(CA_DB *db)
  1877.   	{
  1878.   	if (db)

apps/ocsp.c:888:3: Call
886.   		OPENSSL_free(port);
887.   		OPENSSL_free(path);
888.   		SSL_CTX_free(ctx);
         ^
889.   		}
890.   

ssl/ssl_lib.c:1406:1: Parameter `a->sessions->num_nodes`
  1404.   #endif
  1405.   
  1406. > void SSL_CTX_free(SSL_CTX *a)
  1407.   	{
  1408.   	int i;

ssl/ssl_lib.c:1435:3: Call
  1433.   	 */
  1434.   	if (a->sessions != NULL)
  1435.   		SSL_CTX_flush_sessions(a,0);
            ^
  1436.   
  1437.   	CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data);

ssl/ssl_sess.c:678:1: Parameter `s->sessions->num_nodes`
    676.   static IMPLEMENT_LHASH_DOALL_ARG_FN(timeout, SSL_SESSION *, TIMEOUT_PARAM *)
    677.   
    678. > void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
    679.   	{
    680.   	unsigned long i;

ssl/ssl_sess.c:690:2: Call
    688.   	i=tp.cache->down_load;
    689.   	tp.cache->down_load=0;
    690.   	lh_doall_arg(tp.cache, LHASH_DOALL_ARG_FN(timeout), &tp);
            ^
    691.   	tp.cache->down_load=i;
    692.   	CRYPTO_w_unlock(CRYPTO_LOCK_SSL_CTX);

crypto/lhash/lhash.c:300:1: Parameter `lh->num_nodes`
      298.   	}
      299.   
      300. > void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
      301.   	{
      302.   	doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)0, func, arg);

crypto/lhash/lhash.c:302:2: Call
      300.   void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
      301.   	{
      302.   	doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)0, func, arg);
              ^
      303.   	}
      304.   

crypto/lhash/lhash.c:270:1: <LHS trace>
268.   	}
269.   
270. > static void doall_util_fn(LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func,
271.   			  LHASH_DOALL_ARG_FN_TYPE func_arg, void *arg)
272.   	{

crypto/lhash/lhash.c:270:1: Parameter `lh->num_nodes`
        268.   	}
        269.   
        270. > static void doall_util_fn(LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func,
        271.   			  LHASH_DOALL_ARG_FN_TYPE func_arg, void *arg)
        272.   	{

crypto/lhash/lhash.c:278:7: Binary operation: ([0, +oo] - 1):unsigned32 by call to `SSL_CTX_free` 
        276.   	/* reverse the order so we search from 'top to bottom'
        277.   	 * We were having memory leaks otherwise */
        278.   	for (i=lh->num_nodes-1; i>=0; i--)
                     ^
        279.   		{
        280.   		a=lh->b[i];
