Skip to content

_PyUnicode_Fini should invalidate ucnhash_capi capsule pointer #91338

Closed
@tiran

Description

@tiran
BPO 47182
Nosy @vstinner, @tiran, @ambv, @pablogsal, @miss-islington, @neonene
PRs
  • bpo-47182: Fix crash by named unicode characters after interpreter reinitialization #32212
  • [3.10] bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212) (GH-32216) #32216
  • [3.9] bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212) #32217
  • gh-91338: Ensure test_ucnhash_capi_reset doesn't pass PYTHONHOME to _testembed.exe #32313
  • Files
  • ucnbug.c
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2022-03-31.13:34:15.298>
    labels = ['interpreter-core', '3.10', 'type-crash', '3.11']
    title = '_PyUnicode_Fini should invalidate ucnhash_capi capsule pointer'
    updated_at = <Date 2022-04-04.19:17:34.058>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2022-04-04.19:17:34.058>
    actor = 'neonene'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2022-03-31.13:34:15.298>
    creator = 'christian.heimes'
    dependencies = []
    files = ['50708']
    hgrepos = []
    issue_num = 47182
    keywords = ['patch']
    message_count = 3.0
    messages = ['416432', '416440', '416474']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'christian.heimes', 'lukasz.langa', 'pablogsal', 'miss-islington', 'neonene']
    pr_nums = ['32212', '32216', '32217', '32313']
    priority = 'high'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue47182'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)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