SIGN IN SIGN UP

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>
M
Miss Islington (bot) committed
3bf8e0f487978b2c7396592816558ca852f846a1
Parent: 8e2bda8
Committed by GitHub <noreply@github.com> on 9/19/2022, 11:48:58 AM