[issue8013] time.asctime segfaults when given a time in the far future

Ned Deily report at bugs.python.org
Sun Jan 2 04:48:55 CET 2011


Ned Deily <nad at acm.org> added the comment:

Thanks for the py3k patch.  I am also attaching a refreshed patch for current 2.7.  They both fix the segfaults when built and run on OS X 10.6 64-bit.  Since the patches change timemodule to use asctime_r, which AFAICT is not used elsewhere in the standard library, one concern might be if this change introduces a regression on any other platforms, something for the buildbots to test.

----------
stage:  -> patch review
Added file: http://bugs.python.org/file20214/issue8013_27.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8013>
_______________________________________


More information about the Python-bugs-list mailing list