aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2021-01-18 15:11:46 -0600
committerMichał Górny <mgorny@gentoo.org>2021-01-19 23:58:46 +0100
commitfab838b2ee7cfb9037c24f0f18dfe01aa379b3f7 (patch)
treea94200a6e7a28cb173b382dd184e0ec264074a84 /Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst
parentbpo-40791: Make compare_digest more constant-time. (GH-23438) (diff)
downloadcpython-fab838b2ee7cfb9037c24f0f18dfe01aa379b3f7.tar.gz
cpython-fab838b2ee7cfb9037c24f0f18dfe01aa379b3f7.tar.bz2
cpython-fab838b2ee7cfb9037c24f0f18dfe01aa379b3f7.zip
[3.6] closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24250)
(cherry picked from commit 916610ef90a0d0761f08747f7b0905541f0977c7) Co-authored-by: Benjamin Peterson <benjamin@python.org> Rebased for Python 2.7 by Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst')
-rw-r--r--Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst b/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst
new file mode 100644
index 0000000000..7df65a156f
--- /dev/null
+++ b/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst
@@ -0,0 +1,2 @@
+Avoid static buffers when computing the repr of :class:`ctypes.c_double` and
+:class:`ctypes.c_longdouble` values.