[New-bugs-announce] [issue40661] The new parser segfaults when parsing invalid input

Pablo Galindo Salgado report at bugs.python.org
Sun May 17 12:01:10 EDT 2020


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

The new peg parser segfaults when parsing the attached reproducer.

this is due to the fact that the exception set by `tokenizer_error` is not properly propagated.

----------
components: Interpreter Core
files: reproducer.py
messages: 369132
nosy: gvanrossum, lys.nikolaou, pablogsal
priority: release blocker
severity: normal
stage: needs patch
status: open
title: The new parser segfaults when parsing invalid input
type: crash
versions: Python 3.9
Added file: https://bugs.python.org/file49169/reproducer.py

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


More information about the New-bugs-announce mailing list