Skip to content

_PyUnicode_Fini should invalidate ucnhash_capi capsule pointer #91338

Description

@tiran
BPO47182
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=Noneclosed_at=Nonecreated_at=<Date2022-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=<Date2022-04-04.19:17:34.058>user='https://github.com/tiran'

    bugs.python.org fields:

    activity=<Date2022-04-04.19:17:34.058>actor='neonene'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core']
    creation=<Date2022-03-31.13:34:15.298>creator='christian.heimes'dependencies= []
    files= ['50708']
    hgrepos= []
    issue_num=47182keywords= ['patch']
    message_count=3.0messages= ['416432', '416440', '416474']
    nosy_count=6.0nosy_names= ['vstinner', 'christian.heimes', 'lukasz.langa', 'pablogsal', 'miss-islington', 'neonene']
    pr_nums= ['32212', '32216', '32217', '32313']
    priority='high'resolution=Nonestage='patch review'status='open'superseder=Nonetype='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