STINNER Victor added the comment:

> Isn't this a duplicate of issue16137 which was closed with the resolution 
> "won't fix"?

This issue seems to be a crash on Windows using negative year. You proposed a 
patch using asctime_s() instead of asctime(). So the fix is specific to Windows.

This issue is now qualified as a security vulnerability (msg301255), so we have 
to fix it.

My proposed PR 3293 fixes the crash on musl, it should fix issue16137 crash on 
Windows, and indirectly it adds support for year > 9999 on all platforms which 
is a nice side effect.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31339>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to