summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2018-08-25 01:08:50 (GMT)
committerGitHub <noreply@github.com>2018-08-25 01:08:50 (GMT)
commit76be0fffff8b7dbe649ad4821144461800ffb0d0 (patch)
tree9ef8e6646a08ddf8ae63a2600945b3c47f3ab79b /Misc
parenteb746dbae8b320758ee08f811316d7f283435cc0 (diff)
downloadcpython-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.rst2
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.