Skip to content

Crash during decoding using UTF-16/32 and custom error handler #76764

@sibiryakov

Description

@sibiryakov
BPO 32583
Nosy @malemburg, @terryjreedy, @vstinner, @benjaminp, @ned-deily, @ezio-melotti, @serhiy-storchaka, @zhangyangyu, @sibiryakov
PRs
  • bpo-32583: Fix possible crashing in builtin Unicode decoders #5325
  • [3.6] bpo-32583: Fix possible crashing in builtin Unicode decoders (GH-5325) #5459
  • Files
  • decode_crash.py: The source code to replicate the issue
  • test_string.bin: Content file needed to run the crash script
  • valgrind.log: Valgrind log
  • issue32583.patch
  • 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 = <Date 2018-01-31.13:35:16.894>
    created_at = <Date 2018-01-17.15:12:30.618>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'Crash during decoding using UTF-16/32 and custom error handler'
    updated_at = <Date 2018-01-31.23:33:09.923>
    user = 'https://github.com/sibiryakov'

    bugs.python.org fields:

    activity = <Date 2018-01-31.23:33:09.923>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-31.13:35:16.894>
    closer = 'xiang.zhang'
    components = ['Interpreter Core']
    creation = <Date 2018-01-17.15:12:30.618>
    creator = 'sibiryakov'
    dependencies = []
    files = ['47391', '47392', '47393', '47399']
    hgrepos = []
    issue_num = 32583
    keywords = ['patch']
    message_count = 8.0
    messages = ['310188', '310289', '310357', '310359', '310376', '311327', '311329', '311388']
    nosy_count = 9.0
    nosy_names = ['lemburg', 'terry.reedy', 'vstinner', 'benjamin.peterson', 'ned.deily', 'ezio.melotti', 'serhiy.storchaka', 'xiang.zhang', 'sibiryakov']
    pr_nums = ['5325', '5459']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue32583'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-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