]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-99240: Reset pointer to NULL when the pointed memory is freed in argument...
authorcolorfulappl <colorfulappl@qq.com>
Wed, 21 Dec 2022 10:02:29 +0000 (18:02 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 10:02:29 +0000 (15:32 +0530)
commitbed1d141a95e8d69f522e6f4e46e0647c68a2460
tree86a8bd1afbb6e05ceeabf2a96790d7c73f5a3cf0
parentbee905184e9297e58d421ecfee556277dc01864d
[3.11] gh-99240: Reset pointer to NULL when the pointed memory is freed in argument parsing (GH-99890) (#100385)

(cherry picked from commit efbb1eb9f54cad4f7bf5df03eed3a6aba02d99f4)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Lib/test/test_capi/test_getargs.py
Misc/NEWS.d/next/C API/2022-11-30-16-39-22.gh-issue-99240.67nAX-.rst [new file with mode: 0644]
Modules/_testcapimodule.c
Python/getargs.c