Skip to content

Reject embedded null characters in wchar* strings #57826

Description

@vstinner
BPO 13617
Nosy @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka
PRs
  • [security] bpo-13617: Reject embedded null characters in wchar* strings. #2302
  • [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) #2462
  • [3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) #2463
  • Fix compiler warnings introduced in bpo-13617. #2464
  • Dependencies
  • bpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned
  • Files
  • embedded_nul.patch
  • doc_unicode.patch: added warnings to concerned functions
  • doc_unicode-2.patch
  • embedded_nul-2.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2017-06-28.08:22:41.245>
    created_at = <Date 2011-12-17.03:53:41.721>
    labels = ['type-security', '3.7', 'library', 'expert-unicode']
    title = 'Reject embedded null characters in wchar* strings'
    updated_at = <Date 2017-06-28.09:24:05.176>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-06-28.09:24:05.176>
    actor = 'vstinner'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-06-28.08:22:41.245>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)', 'Unicode']
    creation = <Date 2011-12-17.03:53:41.721>
    creator = 'vstinner'
    dependencies = ['30708']
    files = ['23984', '24034', '24037', '24041']
    hgrepos = []
    issue_num = 13617
    keywords = ['patch']
    message_count = 22.0
    messages = ['149656', '149657', '149783', '149787', '149791', '149794', '149802', '173147', '221844', '226414', '236699', '296241', '296332', '296461', '296512', '297132', '297155', '297156', '297158', '297161', '297162', '297165']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'ezio.melotti', 'benhoyt', 'python-dev', 'arnaudc', 'serhiy.storchaka']
    pr_nums = ['2302', '2462', '2463', '2464']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue13617'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions