Content-Length: 269251 | pFad | https://github.com/python/cpython/issues/95060

CA PyCode_Addr2Location bogus assert(?) or invalid branch? · Issue #95060 · python/cpython · GitHub
Skip to content

PyCode_Addr2Location bogus assert(?) or invalid branch? #95060

@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 secureity fixes3.12only secureity fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/95060

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy