Message191855
"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... |
|
Date |
User |
Action |
Args |
2013-06-25 12:31:30 | vstinner | set | recipients:
+ vstinner, loewis, nadeem.vawda, serhiy.storchaka |
2013-06-25 12:31:30 | vstinner | link | issue18294 messages |
2013-06-25 12:31:30 | vstinner | create | |
|