This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients belopolsky, benjamin.peterson, christian.heimes, pitrou, serhiy.storchaka, vstinner
Date 2017-09-05.16:51:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504630276.39.0.991837471543.issue31339@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2017-09-05 16:51:16vstinnersetrecipients: + vstinner, belopolsky, pitrou, christian.heimes, benjamin.peterson, serhiy.storchaka
2017-09-05 16:51:16vstinnersetmessageid: <1504630276.39.0.991837471543.issue31339@psf.upfronthosting.co.za>
2017-09-05 16:51:16vstinnerlinkissue31339 messages
2017-09-05 16:51:16vstinnercreate