• Nadeem Vawda's avatar
    Issue #12839: Fix crash in zlib module due to version mismatch. · 524148ad
    Nadeem Vawda yazdı
    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.
    524148ad
zlibmodule.c 34.8 KB