Message104537
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) |
|
Date |
User |
Action |
Args |
2010-04-29 16:50:31 | ddmitriev | set | recipients:
+ ddmitriev |
2010-04-29 16:50:31 | ddmitriev | set | messageid: <1272559831.56.0.188129924553.issue8571@psf.upfronthosting.co.za> |
2010-04-29 16:50:29 | ddmitriev | link | issue8571 messages |
2010-04-29 16:50:29 | ddmitriev | create | |
|