Skip to content

Use-after-free in unicode_escape decoder with error handler #133767

Open
@sethmlarson

Description

@sethmlarson

Crash report

What happened?

When using .decode("unicode_escape") with an error handler there is a use-after-free segfault.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Output from running 'python -VV' on the command line:

No response

Linked PRs

Metadata

Metadata

Labels

type-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions