Skip to content

.sort() segfaults consistently on crafted input #80399

@LynLevenick

Description

@LynLevenick
BPO 36218
Nosy @rhettinger, @ned-deily, @ambv, @zware, @embg, @lysnikolaou, @remilapeyre, @tirkarthi
PRs
  • bpo-36218: Fix handling of heterogeneous values in list.sort #12209
  • [3.7] bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) #12532
  • 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 2019-03-25.07:49:35.243>
    created_at = <Date 2019-03-06.21:54:32.245>
    labels = ['interpreter-core', 'deferred-blocker', '3.7', '3.8', 'type-crash']
    title = '.sort() segfaults consistently on crafted input'
    updated_at = <Date 2019-03-25.07:49:35.243>
    user = 'https://bugs.python.org/LynLevenick'

    bugs.python.org fields:

    activity = <Date 2019-03-25.07:49:35.243>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-25.07:49:35.243>
    closer = 'rhettinger'
    components = ['Interpreter Core']
    creation = <Date 2019-03-06.21:54:32.245>
    creator = 'Lyn Levenick'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36218
    keywords = ['patch']
    message_count = 14.0
    messages = ['337341', '337342', '337343', '337344', '337345', '337346', '337347', '337348', '337349', '337373', '337378', '337744', '338785', '338786']
    nosy_count = 10.0
    nosy_names = ['rhettinger', 'ned.deily', 'SilentGhost', 'lukasz.langa', 'zach.ware', 'elliot.gorokhovsky', 'lys.nikolaou', 'remi.lapeyre', 'xtreak', 'Lyn Levenick']
    pr_nums = ['12209', '12532']
    priority = 'deferred blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue36218'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedeferred-blockerinterpreter-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