Skip to content

"stack smashing detected" in PyCursesWindow_Box #71853

@SteveFink

Description

@SteveFink
mannequin
BPO 27666
Nosy @Yhg1s, @vstinner, @serhiy-storchaka
PRs
  • bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). #4220
  • [3.6] bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). (GH-4220) #4221
  • [2.7] bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). (GH-4220) #4222
  • [2.7] Fix bpo-27666 backporting error in _cursesmodule.c  #4305
  • Files
  • python-2.7.12-curses-argparse.patch: Fix arg parsing stack smash
  • 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 = <Date 2017-11-07.07:55:40.864>
    created_at = <Date 2016-08-01.23:52:30.909>
    labels = ['extension-modules', '3.7', 'type-crash']
    title = '"stack smashing detected" in PyCursesWindow_Box'
    updated_at = <Date 2017-11-07.07:56:22.623>
    user = 'https://bugs.python.org/SteveFink'

    bugs.python.org fields:

    activity = <Date 2017-11-07.07:56:22.623>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-11-07.07:55:40.864>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2016-08-01.23:52:30.909>
    creator = 'Steve Fink'
    dependencies = []
    files = ['44174']
    hgrepos = []
    issue_num = 27666
    keywords = ['patch']
    message_count = 8.0
    messages = ['271796', '273248', '305386', '305394', '305395', '305704', '305717', '305718']
    nosy_count = 4.0
    nosy_names = ['twouters', 'vstinner', 'serhiy.storchaka', 'Steve Fink']
    pr_nums = ['4220', '4221', '4222', '4305']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue27666'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-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