Message71863
pickler_write() has no check for self->write_buf == NULL
Suggested patch:
===================================================================
--- Modules/_pickle.c (Revision 66010)
+++ Modules/_pickle.c (Arbeitskopie)
@@ -421,6 +421,10 @@
{
PyObject *data, *result;
+ if (self->write_buf == NULL) {
+ PyErr_SetString(PyExc_SystemError, "Invalid write buffer");
+ return -1;
+ }
if (s == NULL) {
if (!(self->buf_size))
return 0; |
|
Date |
User |
Action |
Args |
2008-08-24 20:44:12 | christian.heimes | set | recipients:
+ christian.heimes, ajaksu2, alexandre.vassalotti |
2008-08-24 20:44:12 | christian.heimes | set | messageid: <1219610652.08.0.164380358894.issue3664@psf.upfronthosting.co.za> |
2008-08-24 20:44:11 | christian.heimes | link | issue3664 messages |
2008-08-24 20:44:11 | christian.heimes | create | |
|