Skip to content

ctypes: structure with bitfields as argument #60780

Open
@arigo

Description

@arigo
mannequin
BPO 16576
Nosy @arigo, @theller, @vsajip, @amauryfa, @abalkin, @alex, @meadori
PRs
  • bpo-22273: Update ctypes to correctly handle arrays in small structur… #15839
  • bpo-16576: Add checks for bitfields passed by value to functions. #17097
  • [3.8] bpo-16576: Add checks for bitfields passed by value to functions. (GH-17097) #17223
  • [3.7] bpo-16576: Add checks for bitfields passed by value to functions. (GH-17097) #17224
  • Files
  • test185_lib.tgz
  • test186_lib.tgz
  • issue16576.docfix.1.patch
  • 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 2012-11-29.04:53:32.056>
    labels = ['ctypes', '3.7', '3.8', '3.9', 'type-crash']
    title = 'ctypes: structure with bitfields as argument'
    updated_at = <Date 2020-01-12.07:46:05.510>
    user = 'https://github.com/arigo'

    bugs.python.org fields:

    activity = <Date 2020-01-12.07:46:05.510>
    actor = 'vinay.sajip'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2012-11-29.04:53:32.056>
    creator = 'arigo'
    dependencies = []
    files = ['28156', '28157', '29326']
    hgrepos = []
    issue_num = 16576
    keywords = ['patch']
    message_count = 10.0
    messages = ['176629', '176631', '183595', '183665', '183816', '183818', '356447', '356869', '357224', '359835']
    nosy_count = 10.0
    nosy_names = ['arigo', 'theller', 'vinay.sajip', 'amaury.forgeotdarc', 'belopolsky', 'Arfrever', 'alex', 'eli.bendersky', 'meador.inge', 'python-dev']
    pr_nums = ['15839', '17097', '17223', '17224']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue16576'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

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