summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-09-19 11:48:58 (GMT)
committerPablo Galindo <pablogsal@gmail.com>2022-10-22 19:54:47 (GMT)
commit9e008fe3519b6c08edc2f2363bc2eb4a4e044698 (patch)
treed1d625654bba9eb4bc2a82ff68463615e7c0ac76 /Misc
parentbac61bc5b132221dde406f0700e238c302029698 (diff)
downloadcpython-9e008fe3519b6c08edc2f2363bc2eb4a4e044698.zip
cpython-9e008fe3519b6c08edc2f2363bc2eb4a4e044698.tar.gz
cpython-9e008fe3519b6c08edc2f2363bc2eb4a4e044698.tar.bz2
gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915) (GH-96927)
* gh-96821: Assert for demonstrating undefined behaviour * Fix UB (cherry picked from commit cbdeda8ce7a3543cb3376d70e4cd46fcf24f42a7) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Matthias Görgens <matthias.goergens@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-09-18-08-47-40.gh-issue-96821.Co2iOq.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-18-08-47-40.gh-issue-96821.Co2iOq.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-18-08-47-40.gh-issue-96821.Co2iOq.rst
new file mode 100644
index 0000000..4fd0532
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-09-18-08-47-40.gh-issue-96821.Co2iOq.rst
@@ -0,0 +1 @@
+Fix undefined behaviour in ``_testcapimodule.c``.