Bug #73944 [Com]: dictionary option of intflate_init() does not work

[email protected] ("someone dot wanted dot to dot be dot unknown at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=73944&edit=1

 ID:                 73944
 Comment by:         someone dot wanted dot to dot be dot unknown at
                     gmail dot com
 Reported by:        someone dot wanted dot to dot be dot unknown at
                     gmail dot com
 Summary:            dictionary option of intflate_init() does not work
 Status:             Assigned
 Type:               Bug
 Package:            Zlib related
 Operating System:   Windows 10 x64
 PHP Version:        7.1.0
 Assigned To:        bwoebi
 Block user comment: N
 Private report:     N

 New Comment:

So, if I could send PR to php source, I'd send a fix.
According to Mark's opinion, it's not very difficult to update source of zlib extension to fix decompressor. May I wait for updates on this issue?


Previous Comments:
------------------------------------------------------------------------
[2017-02-20 11:45:50] someone dot wanted dot to dot be dot unknown at gmail dot com

What about thinking about this problem?

------------------------------------------------------------------------
[2017-02-13 14:48:32] someone dot wanted dot to dot be dot unknown at gmail dot com

Can you try suggestion that Mark made and update zlib module?

------------------------------------------------------------------------
[2017-02-06 16:14:35] someone dot wanted dot to dot be dot unknown at gmail dot com

Mark thinks following:
> The current PHP code appears to be calling inflateSetDictionary() only if Z_DICT is returned by deflate. The PHP code should also call inflateSetDictionary() after calling inflateInit2() if raw inflate is being requested. 
http://stackoverflow.com/questions/41653663/is-there-something-special-in-windows-mszip-format-or-cfdata-in-cab-files#comment71289866_41658204

------------------------------------------------------------------------
[2017-02-01 15:30:09] [email protected]

No idea, still doesn't work. I'd be happy if someone else could look at the relevant code in ext/zlib/zlib.c:764 and following lines...

------------------------------------------------------------------------
[2017-02-01 15:29:44] [email protected]

No idea, still doesn't work. I'd be happy if someone else could look at the relevant code in ext/zlib/zlib.c:764 and following lines...

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=73944


--
Edit this bug report at https://bugs.php.net/bug.php?id=73944&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.