SIGN IN SIGN UP

gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915) (GH-96926)

* 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>
M
Miss Islington (bot) committed
88a3f1873ec4e6d35b1736c480c7087e01fca40f
Parent: f4be544
Committed by GitHub <noreply@github.com> on 9/19/2022, 10:20:23 AM