]> granicus.if.org Git - python/commit
bpo-37419: Fix possible segfaults when passing large sequences to os.posix_spawn...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Jun 2019 21:20:09 +0000 (14:20 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 21:20:09 +0000 (14:20 -0700)
commit04d4692579cc4e0204c7fbced3692f8aa4bbb857
tree641e0af4cab05291936f074e20927998d0149622
parent5c4ce3e2fa73125fb6f9c501e6c4c8512216b7e1
bpo-37419: Fix possible segfaults when passing large sequences to os.posix_spawn() (GH-14409)

Use Py_ssize_t instead of int for i.
(cherry picked from commit d52a83a3d471ff3c7e9ebfa1731765e5334f7c24)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/posixmodule.c