On Thu Jun 13 18:33:48 2024 +0000, Nikolay Sivov wrote:
What's happening when we don't provide those functions?
If these functions aren't provided, the later call to zlib's deflate() returns an error, and so it's unable to compress the input data and process it later. I discovered this working on a bug where Word was unable to open a doc from a pdf file; in that context, the deflate() failure meant that wine wasn't able to compress document data and eventually write it to a .docx file, which led to a corrupted .docx file.