Skip to content

ctypes s_set() uses strlen() and so truncates string at null character #83774

@shihai1991

Description

@shihai1991
BPO 39593
Nosy @vstinner, @shihai1991
PRs
  • bpo-39593: Adding an unit test of ctypes #18424
  • 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-06-01.16:55:09.527>
    created_at = <Date 2020-02-09.16:17:25.605>
    labels = ['type-feature', 'tests', '3.10']
    title = 'ctypes s_set() uses strlen() and so truncates string at null character'
    updated_at = <Date 2020-06-01.16:55:09.525>
    user = 'https://github.com/shihai1991'

    bugs.python.org fields:

    activity = <Date 2020-06-01.16:55:09.525>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-01.16:55:09.527>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2020-02-09.16:17:25.605>
    creator = 'shihai1991'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39593
    keywords = ['patch']
    message_count = 7.0
    messages = ['361656', '361690', '361782', '361789', '361790', '370562', '370563']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'shihai1991']
    pr_nums = ['18424']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39593'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions