[New-bugs-announce] [issue31339] [2.7] time.asctime() buffer overflow for year > 9999 using mucl (C library)

STINNER Victor report at bugs.python.org
Mon Sep 4 15:22:54 EDT 2017


New submission from STINNER Victor:

Attached PR backports (and adapts) the _asctime() function from the master branch to Python 2.7, so time.asctime() and time.ctime() don't call asctime() and ctime() functions of the external C library, but use portable and safe C code.

----------
components: Library (Lib)
messages: 301246
nosy: haypo
priority: normal
severity: normal
status: open
title: [2.7] time.asctime() buffer overflow for year > 9999 using mucl (C library)
type: security
versions: Python 2.7

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


More information about the New-bugs-announce mailing list