crypto/err/err.c:399: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `lh_delete`.
Showing all 7 steps of the trace


crypto/err/err.c:397:12: Call
395.   
396.       CRYPTO_w_lock(CRYPTO_LOCK_ERR);
397.       hash = int_thread_get(0, 0);
                  ^
398.       if (hash) {
399.           p = lh_ERR_STATE_delete(hash, d);

crypto/err/err.c:326:27: Call
  324.       if (!int_thread_hash && create) {
  325.           CRYPTO_push_info("int_thread_get (err.c)");
  326.           int_thread_hash = lh_ERR_STATE_new();
                                   ^
  327.           CRYPTO_pop_info();
  328.       }

crypto/lhash/lhash.c:132:5: Assignment
    130.       ret->up_load = UP_LOAD;
    131.       ret->down_load = DOWN_LOAD;
    132.       ret->num_items = 0;
               ^
    133.   
    134.       ret->num_expands = 0;

crypto/err/err.c:399:13: Call
397.       hash = int_thread_get(0, 0);
398.       if (hash) {
399.           p = lh_ERR_STATE_delete(hash, d);
                   ^
400.           /* If there are no other references, and we just removed the
401.            * last item, delete the int_thread_hash */

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

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

crypto/lhash/lhash.c:229:5: Binary operation: (0 - 1):unsigned64 by call to `lh_delete` 
  227.       }
  228.   
  229.       lh->num_items--;
             ^
  230.       if ((lh->num_nodes > MIN_NODES) &&
  231.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
