mirror of
https://git.tukaani.org/xz.git
synced 2026-10-31 03:14:56 +00:00
Previously, if an Index had more than PREALLOC_MAX Records, then allocations were done in PREALLOC_DEFAULT chunks (512 Records). That makes little sense in practice because it's likely that one would run out of address space later. Return LZMA_MEM_ERROR error pre-emptively if PREALLOC_MAX would be exceeded.