mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Correct missing adjustment of hash entry.
This commit is contained in:
parent
0e593f7681
commit
ba2ebae392
1 changed files with 1 additions and 0 deletions
1
rzip.c
1
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue