mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-03 20:42:50 -04:00
In pool_free_old(), one code path was not clearing a "next" pointer,
so the code could try to free an extent twice in certain circumstances.
This commit is contained in:
@@ -255,6 +255,7 @@ pool_free_old(alloc_pool_t p, void *addr)
|
||||
cur->free -= skew;
|
||||
}
|
||||
next = cur->next;
|
||||
cur->next = NULL;
|
||||
}
|
||||
} else {
|
||||
next = cur->next;
|
||||
|
||||
Reference in New Issue
Block a user