]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix Partial Symbol Generation for QUICK deflate
authorPhil Vachon <pvachon@12sidedtech.com>
Mon, 30 Jan 2017 14:20:20 +0000 (15:20 +0100)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 13 Feb 2017 09:16:46 +0000 (10:16 +0100)
commitfc7aa0a86f7102c152ffa310108cbdbede810336
treede3f3bdfc6a7f28e3bb261845ba3e3811ab46bfb
parent21bffda72c25370230dff6a0b28e3f629b5acd91
Fix Partial Symbol Generation for QUICK deflate

When using deflate_quick() in a streaming fashion and the output buffer
runs out of space while the input buffer still has data, deflate_quick()
would emit partial symbols. Force the deflate_quick() loop to terminate
for a flush before any further processing is done, returning to the main
deflate() routine to do its thing.
arch/x86/deflate_quick.c