Fix skipping of corrupted objects, fix use_buffer_area with zero size

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 6a30e6653a
commit 74b8ea1303
4 changed files with 74 additions and 28 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ void multilist_alloc_t::print()
void multilist_alloc_t::use(uint32_t pos, uint32_t size)
{
assert(pos < count);
assert(pos+size <= count && size > 0);
if (sizes[pos] <= 0)
{
uint32_t start = pos;