Skip to content

Crash during encoding using UTF-16/32 and custom error handler #81000

Closed
@ATalaba

Description

@ATalaba
mannequin
BPO 36819
Nosy @malemburg, @doerwalter, @vstinner, @ezio-melotti, @serhiy-storchaka, @tonybaloney, @ATalaba, @iritkatriel
PRs
  • bpo-36819: Fix out-of-bounds writes in encoders #13134
  • bpo-36819: Fix crashes in built-in encoders with weird error handlers #28593
  • Files
  • encode_crash.py: Source code to replicate the crash
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = None
    created_at = <Date 2019-05-06.18:51:21.426>
    labels = ['interpreter-core', 'type-crash', '3.10', '3.11', 'expert-unicode', '3.9']
    title = 'Crash during encoding using UTF-16/32 and custom error handler'
    updated_at = <Date 2021-09-29.15:17:06.551>
    user = 'https://github.com/ATalaba'

    bugs.python.org fields:

    activity = <Date 2021-09-29.15:17:06.551>
    actor = 'doerwalter'
    assignee = 'serhiy.storchaka'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2019-05-06.18:51:21.426>
    creator = 'atalaba'
    dependencies = []
    files = ['48305']
    hgrepos = []
    issue_num = 36819
    keywords = ['patch']
    message_count = 9.0
    messages = ['341599', '341658', '402170', '402726', '402826', '402830', '402832', '402833', '402883']
    nosy_count = 8.0
    nosy_names = ['lemburg', 'doerwalter', 'vstinner', 'ezio.melotti', 'serhiy.storchaka', 'anthonypjshaw', 'atalaba', 'iritkatriel']
    pr_nums = ['13134', '28593']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue36819'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Labels

    3.10only security fixes3.11only security fixes3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-unicodetype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions