Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Set LZMA decompressor memory limit to 1GiB fixed
As discussed in WerWolv#2033, we should limit the memory usage to a reasonably sane value (1GiB here), rather than always increasing it when exceeded. We also print a warning to the console in this case. This also avoided the bug when decompressing a small buffer.
- Loading branch information