Skip to content

[easy C issue] ctypes: segfault with large number of callback arguments #57306

Description

@meadori
BPO 13097
Nosy @amauryfa, @abalkin, @vstinner, @meadori, @miss-islington, @furkanonder
PRs
  • bpo-13097: fix segfault in ctypes callback invocation #19914
  • [3.9] bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914) #20453
  • [3.8] bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914) #20454
  • [3.7] bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914) #20455
  • 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/meadori'
    closed_at = <Date 2020-05-27.15:54:46.297>
    created_at = <Date 2011-10-04.03:57:17.101>
    labels = ['easy', '3.8', '3.9', '3.10', 'ctypes', '3.7', 'type-crash']
    title = '[easy C issue] ctypes: segfault with large number of callback arguments'
    updated_at = <Date 2020-05-27.15:54:46.291>
    user = 'https://github.com/meadori'

    bugs.python.org fields:

    activity = <Date 2020-05-27.15:54:46.291>
    actor = 'vstinner'
    assignee = 'meador.inge'
    closed = True
    closed_date = <Date 2020-05-27.15:54:46.297>
    closer = 'vstinner'
    components = ['ctypes']
    creation = <Date 2011-10-04.03:57:17.101>
    creator = 'meador.inge'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 13097
    keywords = ['patch', 'easy (C)', 'newcomer friendly']
    message_count = 13.0
    messages = ['144852', '145259', '148648', '148701', '148712', '149508', '368001', '368064', '370093', '370099', '370102', '370103', '370105']
    nosy_count = 7.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'vstinner', 'meador.inge', 'python-dev', 'miss-islington', 'furkanonder']
    pr_nums = ['19914', '20453', '20454', '20455']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue13097'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions