Skip to content

Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned #74893

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 30708
Nosy @vstinner, @ezio-melotti, @serhiy-storchaka, @zooba
PRs
  • bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). #2285
  • [3.6] bpo-30708: Add private C API function _PyUnicode_AsWideCharString(). (GH-2285) #2443
  • [3.5] bpo-30708: Add private C API function _PyUnicode_AsWideCharString(). (GH-2285) (GH-2443) #2448
  • 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 2017-06-27.19:06:14.376>
    created_at = <Date 2017-06-20.04:38:10.522>
    labels = ['interpreter-core', 'type-feature', '3.7', 'expert-unicode']
    title = "Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned"
    updated_at = <Date 2017-06-27.19:06:14.374>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-06-27.19:06:14.374>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-27.19:06:14.376>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2017-06-20.04:38:10.522>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30708
    keywords = []
    message_count = 7.0
    messages = ['296401', '296514', '296755', '297031', '297062', '297066', '297069']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'ezio.melotti', 'serhiy.storchaka', 'steve.dower']
    pr_nums = ['2285', '2443', '2448']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30708'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions