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

Zackery Spytz report at bugs.python.org
Wed Jun 26 15:24:46 EDT 2019


New submission from Zackery Spytz <zspytz at gmail.com>:

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
severity: normal
status: open
title: Possible segfaults when passing large sequences to os.posix_spawn()
type: crash
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37419>
_______________________________________


More information about the Python-bugs-list mailing list