8000 PyCode_Addr2Location bogus assert(?) or invalid branch? · Issue #95060 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
PyCode_Addr2Location bogus assert(?) or invalid branch? #95060
Closed
@Fidget-Spinner

Description

@Fidget-Spinner

In https://github.com/python/cpython/blob/main/Objects/codeobject.c#L971-L975, addrq < 0 is a condition but the assert following the branch fails when addrq < 0. This causes mypyc to segfault on 3.11 debug.

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0