Skip to content

bytes_concat seems to check overflow using undefined behaviour #71660

@zhangyangyu

Description

@zhangyangyu
BPO 27473
Nosy @vadmium, @serhiy-storchaka, @ztane, @zhangyangyu
Files
  • bytes_concat_overflow_check.patch
  • bytes_concat_overflow_check_v2.patch: include bytearray concat
  • bytes_concat_overflow_check_v3.patch
  • concat_and_repeat_overflow_check-2.7.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 2016-07-12.12:47:56.171>
    created_at = <Date 2016-07-09.16:46:44.595>
    labels = ['interpreter-core', 'type-bug']
    title = 'bytes_concat seems to check overflow using undefined behaviour'
    updated_at = <Date 2016-07-12.12:47:56.170>
    user = 'https://github.com/zhangyangyu'

    bugs.python.org fields:

    activity = <Date 2016-07-12.12:47:56.170>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-07-12.12:47:56.171>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2016-07-09.16:46:44.595>
    creator = 'xiang.zhang'
    dependencies = []
    files = ['43671', '43675', '43676', '43678']
    hgrepos = []
    issue_num = 27473
    keywords = ['patch']
    message_count = 16.0
    messages = ['270053', '270066', '270072', '270075', '270076', '270079', '270081', '270082', '270087', '270092', '270094', '270096', '270123', '270127', '270153', '270240']
    nosy_count = 5.0
    nosy_names = ['python-dev', 'martin.panter', 'serhiy.storchaka', 'ztane', 'xiang.zhang']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27473'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions