This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ddmitriev
Recipients ddmitriev
Date 2010-04-29.16:50:29
SpamBayes Score 0.0007472268
Marked as misclassified No
Message-id <1272559831.56.0.188129924553.issue8571@psf.upfronthosting.co.za>
In-reply-to
Content
Alright, I think this is caused by the following:

static PyObject *
PyZlib_objdecompress(compobject *self, PyObject *args)
{
    int err, inplen, old_length, length = DEFAULTALLOC;
    int max_length = 0;

The problem is that inplen, length, old_length, and max_length are all ints, whereas they should be Py_ssize_t. I think replacing them should make the bug go away. (I can't test it right now though because I'm having trouble compiling zlibmodule on my current machine)
History
Date User Action Args
2010-04-29 16:50:31ddmitrievsetrecipients: + ddmitriev
2010-04-29 16:50:31ddmitrievsetmessageid: <1272559831.56.0.188129924553.issue8571@psf.upfronthosting.co.za>
2010-04-29 16:50:29ddmitrievlinkissue8571 messages
2010-04-29 16:50:29ddmitrievcreate