Skip to content

ctypes: Crash if manually-created CField instance is used #78878

Closed
@izbyshev

Description

@izbyshev
BPO 34697
Nosy @amauryfa, @abalkin, @meadori, @berkerpeksag, @serhiy-storchaka, @izbyshev, @tirkarthi, @shihai1991
PRs
  • gh-78878: Fix crash when creating an instance of _ctypes.CField #14837
  • 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 = None
    created_at = <Date 2018-09-15.17:13:13.204>
    labels = ['3.10', 'ctypes', '3.9', 'type-crash', '3.11']
    title = 'ctypes: Crash if manually-created CField instance is used'
    updated_at = <Date 2022-01-23.19:52:13.578>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2022-01-23.19:52:13.578>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2018-09-15.17:13:13.204>
    creator = 'izbyshev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34697
    keywords = ['patch']
    message_count = 4.0
    messages = ['325448', '347814', '348113', '348944']
    nosy_count = 8.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'meador.inge', 'berker.peksag', 'serhiy.storchaka', 'izbyshev', 'xtreak', 'shihai1991']
    pr_nums = ['14837']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue34697'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixestopic-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