From ba2ebae392aab096fce26f16ed96c2851d379d21 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 11 Mar 2012 01:33:54 +1100 Subject: [PATCH] Correct missing adjustment of hash entry. --- rzip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rzip.c b/rzip.c index cb4d1c4..904c47c 100644 --- a/rzip.c +++ b/rzip.c @@ -385,6 +385,7 @@ static void insert_hash(struct rzip_state *st, tag t, i64 offset) victim_h = h; if (++round == st->level->max_chain_len) { h = victim_h; + he = &st->hash_table[h]; st->hash_count--; victim_round++; if (victim_round == st->level->max_chain_len)