]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104372: Use non-Raw malloc for c_fds_to_keep in _posixsubprocess (#104697)
authorGregory P. Smith <greg@krypto.org>
Sat, 20 May 2023 17:09:23 +0000 (10:09 -0700)
committerGitHub <noreply@github.com>
Sat, 20 May 2023 17:09:23 +0000 (17:09 +0000)
commitd1732feea0eadd4ccc3516440d0c071be0093dec
treee1d6c07ec0be95adfdc6af8579b36d32e00c7aad
parent68ee8b3f15b744339c156bfeb583a414061ab22d
gh-104372: Use non-Raw malloc for c_fds_to_keep in _posixsubprocess (#104697)

Use non-Raw malloc for c_fds_to_keep as the code could ask for 0 length.
Modules/_posixsubprocess.c