Charles-Francois Natali <[email protected]> added the comment:
I updated my local svn checkout, and the code has been fixed recently:
r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011)
| 1 line
Issue #8013: Fixed time.asctime segfault when OS's asctime fails
p = asctime(&buf);
if (p == NULL) {
PyErr_SetString(PyExc_ValueError, "invalid time");
return NULL;
}
if (p[24] == '\n')
p[24] = '\0';
So I'd suggest to close this issue.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11327>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com