commit | 97d67924e3a3ac1bbe07d6abc02c233a330013f1 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Aug 28 11:26:46 2011 +0200 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Aug 28 11:26:46 2011 +0200 |
tree | 0b4a9ccea44ce886d91b60ae5cc26dfe41745b97 | |
parent | 0c97e5f36aa59e0221b9d279dfea83ff6f7936c0 [diff] |
Issue #12839: Fix crash in zlib module due to version mismatch. If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew.