[issue18294] zlib module is not completly 64-bit safe

STINNER Victor report at bugs.python.org
Tue Jun 25 14:18:14 CEST 2013


STINNER Victor added the comment:

@Serhiy: Oh, thanks for your review. My patch was far from being perfect, a review was necessary! (I hesitated to commit it directly.)

Here is a new patch using unsigned int is most places, parsing arguments with "I" format, and explicit cast to (size_t) to not compare unsigned with signed.

----------
Added file: http://bugs.python.org/file30699/zlib_64bit-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18294>
_______________________________________


More information about the Python-bugs-list mailing list