Skip to content

bytearray_setslice_linear() leaves the bytearray in an inconsistent state on memory allocation failure #63767

@vstinner

Description

@vstinner
BPO 19568
Nosy @pitrou, @vstinner, @skrah, @serhiy-storchaka
Files
  • bytearray_setslice_mem_error.patch
  • bytearray_setslice_mem_error-2.patch
  • bytearray_setslice_mem_error-3.patch
  • bytearray_setslice_mem_error-4.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 = None
    closed_at = <Date 2013-11-21.11:32:13.850>
    created_at = <Date 2013-11-13.12:20:40.899>
    labels = []
    title = 'bytearray_setslice_linear() leaves the bytearray in an inconsistent state on memory allocation failure'
    updated_at = <Date 2013-11-21.11:33:35.794>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2013-11-21.11:33:35.794>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-11-21.11:32:13.850>
    closer = 'python-dev'
    components = []
    creation = <Date 2013-11-13.12:20:40.899>
    creator = 'vstinner'
    dependencies = []
    files = ['32593', '32603', '32713', '32751']
    hgrepos = []
    issue_num = 19568
    keywords = ['patch']
    message_count = 14.0
    messages = ['202736', '202765', '202781', '202797', '202798', '202809', '202838', '202841', '202844', '202846', '203445', '203606', '203613', '203614']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'vstinner', 'skrah', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue19568'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions