Closed mindfocus closed 5 months ago
Hi and thanks for the report!
You've found a bug that's been in the code for a really long time. The tl;dr is that LZMA encoder objects can be cloned and clones would internally still point to data from the original instance. Depending on whether or not the original instance is freed, if a new instance gets allocated at the same address, or how quickly the memory allocator reuses the freed memory, this would cause lzma_stream_encoder
to be called with invalid options.
Fortunately, it's an easy fix. I'll prepare a new release ASAP.
Fixed in v0.9.10.
use bat in windows 11