]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Commit 1 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_d...
authorYann Ylavic <ylavic@apache.org>
Thu, 27 Feb 2014 16:56:07 +0000 (16:56 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 27 Feb 2014 16:56:07 +0000 (16:56 +0000)
commit3f8a64e490597e9c6a9f28cef532d3ca4acd87dc
tree1c7254941401be5bb5ab3a4be4df962aae75450b
parentfb3ff3e7544fce4545a95330a2246f7721f394fb
Commit 1 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_deflate's output and input filters.
PR 46146 (patches from duplicated PR 55666)

Handle Zlib header buffering in the inflate output filter :
- add the new deflate_ctx_t fields needed to re-enter the Zlib header parsing,
- introduce the new consume_zlib_flags() function to parse/consume the ZLib flags (will be used by the other filters too),
- use it to handle incomplete header in the output filter (deflate).

This alone fixes PR 55666, but the issue remains for PR 46146 (inflate/deflate input filters), hence the following patches.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1572655 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/mod_deflate.c