Skip to content

Use strnlen instead of strlen when the size i known. #85342

Closed as not planned
Closed as not planned
@edge90

Description

@edge90
mannequin
BPO 41170
Nosy @vstinner, @larryhastings, @ericvsmith, @edge90
PRs
  • bpo-41170: Use strnlen instead of strlen when the size i known. #21236
  • 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 2020-06-30.14:44:52.513>
    labels = ['expert-C-API', '3.10']
    title = 'Use strnlen instead of strlen when the size i known.'
    updated_at = <Date 2020-09-28.22:08:46.110>
    user = 'https://github.com/edge90'

    bugs.python.org fields:

    activity = <Date 2020-09-28.22:08:46.110>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['C API']
    creation = <Date 2020-06-30.14:44:52.513>
    creator = 'Niclas Larsson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41170
    keywords = ['patch']
    message_count = 4.0
    messages = ['372727', '372752', '377632', '377633']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'larry', 'eric.smith', 'python-dev', 'Niclas Larsson']
    pr_nums = ['21236']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue41170'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions