Christian Heimes <[EMAIL PROTECTED]> added the comment: 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; ---------- nosy: +christian.heimes _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3664> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com