[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread miss-islington
miss-islington added the comment: New changeset 04d4692579cc4e0204c7fbced3692f8aa4bbb857 by Miss Islington (bot) in branch '3.8': bpo-37419: Fix possible segfaults when passing large sequences to os.posix_spawn() (GH-14409) https://github.com/python/cpython/commit/04d4692579cc4e0204c7fbced36

[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d52a83a3d471ff3c7e9ebfa1731765e5334f7c24 by Pablo Galindo (Zackery Spytz) in branch 'master': bpo-37419: Fix possible segfaults when passing large sequences to os.posix_spawn() (GH-14409) https://github.com/python/cpython/commit/d52a83a3

[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14225 pull_request: https://github.com/python/cpython/pull/14413 ___ Python tracker ___ __

[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +14221 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14409 ___ Python tracker ___ __

[issue37419] Possible segfaults when passing large sequences to os.posix_spawn()

2019-06-26 Thread Zackery Spytz
New submission from Zackery Spytz : parse_file_actions() uses an int as it loops over the passed sequence, but it should use a Py_ssize_t. If the sequence is large enough, the int will overflow. -- components: Extension Modules messages: 346669 nosy: ZackerySpytz priority: normal sever