Author vstinner
Recipients loewis, nadeem.vawda, serhiy.storchaka, vstinner
Date 2013-06-25.12:31:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaT4RbwmbRz6PSvs5Eg85DtO3tXm3n5iaSdc1pOQr+NEw@mail.gmail.com>
In-reply-to <1372162694.79.0.793704601687.issue18294@psf.upfronthosting.co.za>
Content
"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."

Oh oh, it's still wrong. The "I" parser format does not check for
integer overflow. _PyBytes_Resize() also uses "Py_DECREF(retVal);
retVal = NULL;" on failure, instead of Py_CLEAR(retVal), whereas
_PyBytes_Resize(&retVal, ...) sets retVal to NULL...
History
Date User Action Args
2013-06-25 12:31:30vstinnersetrecipients: + vstinner, loewis, nadeem.vawda, serhiy.storchaka
2013-06-25 12:31:30vstinnerlinkissue18294 messages
2013-06-25 12:31:30vstinnercreate