]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915)
authorMatthias Görgens <matthias.goergens@gmail.com>
Mon, 19 Sep 2022 07:59:13 +0000 (15:59 +0800)
committerGitHub <noreply@github.com>
Mon, 19 Sep 2022 07:59:13 +0000 (15:59 +0800)
commitcbdeda8ce7a3543cb3376d70e4cd46fcf24f42a7
treeb17143d740617257acf2e1544815ec5188aaa1cf
parentbbc24b2bd569108b957ed24c5a95ffeaf8cde0db
gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915)

* gh-96821: Assert for demonstrating undefined behaviour

* Fix UB

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Misc/NEWS.d/next/Core and Builtins/2022-09-18-08-47-40.gh-issue-96821.Co2iOq.rst [new file with mode: 0644]
Modules/_testcapimodule.c