]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-78878: Fix crash when creating an instance of `_ctypes.CField` (GH-14837)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Dec 2022 18:02:05 +0000 (10:02 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 18:02:05 +0000 (10:02 -0800)
commit3e715e0cc811ebccce4234c3e25ef30787151d00
tree8b69f56314de49fa76ce62f7d8459bfb6d813ae1
parent0397f040e239c82848f51dedef9af7b9bd99ef55
gh-78878: Fix crash when creating an instance of `_ctypes.CField` (GH-14837)

(cherry picked from commit d713c54ac8a2eba0616a5a07714696d935f1062e)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
Lib/ctypes/test/test_struct_fields.py
Misc/NEWS.d/next/Library/2022-12-19-20-54-04.gh-issue-78878.JrkYqJ.rst [new file with mode: 0644]
Modules/_ctypes/cfield.c
Modules/_ctypes/stgdict.c