[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread miss-islington
miss-islington added the comment: New changeset a427eb862f11888fa69fee520eb8a20bd396fcdb by Miss Islington (bot) in branch '3.10': bpo-45494: Fix error location in EOF tokenizer errors (GH-29108) https://github.com/python/cpython/commit/a427eb862f11888fa69fee520eb8a20bd396fcdb --

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27911 pull_request: https://github.com/python/cpython/pull/29672 ___ Python tracker

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 79ff0d1687e3f823fb121a19f0297ad052871b1b by Pablo Galindo Salgado in branch 'main': bpo-45494: Fix error location in EOF tokenizer errors (GH-29108) https://github.com/python/cpython/commit/79ff0d1687e3f823fb121a19f0297ad052871b1b

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27376 pull_request: https://github.com/python/cpython/pull/29108 ___ Python tracker ___

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, Pablo! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 88f4ec88e282bf861f0af2d237e9fe28fbc8deac by Łukasz Langa in branch '3.9': [3.9] bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993) (#29071)

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: Note: this *does* fail on 3.9, too. Even if it doesn't crash the production build, it does fail an assertion in a pydebug build: test_error_offset_continuation_characters (test.test_exceptions.ExceptionTests) ... Assertion failed: (!_PyErr_Occurred(tstate)),

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5c9cab595e56aeb118bff77ece784dbac30b4338 by Łukasz Langa in branch '3.10': [3.10] bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993) (GH-29070)

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27339 pull_request: https://github.com/python/cpython/pull/29071 ___ Python tracker ___

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27338 pull_request: https://github.com/python/cpython/pull/29070 ___ Python tracker ___

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a106343f632a99c8ebb0136fa140cf189b4a6a57 by Pablo Galindo Salgado in branch 'main': bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993)

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- priority: normal -> high versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I confirmed that 3.9 does NOT seem to have the problem: It does, is just that is not a crash. The point where the error message point is totally wrong -- ___ Python tracker

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: I confirmed that 3.9 does NOT seem to have the problem: Python 3.9.5 (default, May 19 2021, 11:32:47) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> x = r''' ... "\ ... "(1for c in I,\ ... \ ''' >>> import

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Presto!! PR 28993 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27276 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28993 ___ Python tracker

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-16 Thread Ammar Askar
New submission from Ammar Askar : Another parser crash found by the fuzzer: "\ "(1for c in I,\ \ Recreator: >>> import ast >>> ast.literal_eval('"\\\n"(1for c in I,\\\n\\') [1]17916 segmentation fault ./python >>> import ast >>> ast.literal_eval(r''' ... "\ ... "(1for c in I,\ ... \