]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Prevent stale stub functions from being called in deflate_slow
authorAdam Stylinski <kungfujesus06@gmail.com>
Mon, 21 Feb 2022 21:46:18 +0000 (16:46 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 23 Feb 2022 13:47:49 +0000 (14:47 +0100)
commit321028cde93dac9f47b9b92ad186c4cbffb77cf2
treeb8167d0ad0ff7ccb87fc2b22807aea26c96ca563
parent319755304904e9f65644d0e2f5504c123f68794e
Prevent stale stub functions from being called in deflate_slow

Just in case this is the very first call to longest match, we should
instead assign the function pointer instead of the function itself. This
way, by the time it leaves the stub, the function pointer gets
reassigned. This was found incidentally while debugging something else.
deflate_slow.c