diff options
author | Guido van Rossum <guido@python.org> | 2020-05-17 11:12:33 -0700 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2020-05-17 11:12:33 -0700 |
commit | 9b632e974624be476e07ed10c45de73fa0fcbb2d (patch) | |
tree | fc82ee67c3cbdacb039a009aa86959afe32b8605 /Parser/node.c | |
parent | 62ecd8a8f908282726d2f019c93efa1cf2e9e784 (diff) | |
download | cpython-git-fix-segfaults.tar.gz |
Fix segfaults when parsing invalid inputfix-segfaults
Fixes bpo-40661. (In fact this just is the patch from @pablogsal from
that issue.)
Note that for an extreme benchmark (xxl.py) this caused a 40% slowdown
on my Mac. However for an "average" benchmark (stdlib) there was no
significant difference.
Diffstat (limited to 'Parser/node.c')
0 files changed, 0 insertions, 0 deletions