diff options
author | Gregory P. Smith <greg@krypto.org> | 2018-08-25 01:08:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-25 01:08:50 (GMT) |
commit | 76be0fffff8b7dbe649ad4821144461800ffb0d0 (patch) | |
tree | 9ef8e6646a08ddf8ae63a2600945b3c47f3ab79b /Misc | |
parent | eb746dbae8b320758ee08f811316d7f283435cc0 (diff) | |
download | cpython-76be0fffff8b7dbe649ad4821144461800ffb0d0.zip cpython-76be0fffff8b7dbe649ad4821144461800ffb0d0.tar.gz cpython-76be0fffff8b7dbe649ad4821144461800ffb0d0.tar.bz2 |
bpo-13312: Avoid int underflow in time year. (GH-8912)
Avoids an integer underflow in the time module's year handling code.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-08-24-17-31-27.bpo-13312.6hA5La.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-08-24-17-31-27.bpo-13312.6hA5La.rst b/Misc/NEWS.d/next/Library/2018-08-24-17-31-27.bpo-13312.6hA5La.rst new file mode 100644 index 0000000..dc90669 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-08-24-17-31-27.bpo-13312.6hA5La.rst @@ -0,0 +1,2 @@ +Avoids a possible integer underflow (undefined behavior) in the time +module's year handling code when passed a very low negative year value. |