Skip to content

segfault in ctypes.cast #66182

@AnthonyLaTorre

Description

@AnthonyLaTorre
BPO 21983
Nosy @amauryfa, @abalkin, @vstinner, @meadori, @eryksun, @zooba, @orenmn, @miss-islington
PRs
  • bpo-21983: Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. #3859
  • [3.7] bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859) #6745
  • [3.6] bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859) #6746
  • 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 2020-03-26.00:41:45.508>
    created_at = <Date 2014-07-14.21:53:26.164>
    labels = ['ctypes', 'type-crash']
    title = 'segfault in ctypes.cast'
    updated_at = <Date 2020-03-26.00:41:45.507>
    user = 'https://bugs.python.org/AnthonyLaTorre'

    bugs.python.org fields:

    activity = <Date 2020-03-26.00:41:45.507>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-26.00:41:45.508>
    closer = 'vstinner'
    components = ['ctypes']
    creation = <Date 2014-07-14.21:53:26.164>
    creator = 'Anthony.LaTorre'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 21983
    keywords = ['patch']
    message_count = 10.0
    messages = ['223062', '223069', '223100', '303468', '316334', '316337', '316339', '317754', '326039', '365040']
    nosy_count = 9.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'vstinner', 'meador.inge', 'eryksun', 'steve.dower', 'Anthony.LaTorre', 'Oren Milman', 'miss-islington']
    pr_nums = ['3859', '6745', '6746']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue21983'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-ctypestype-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