Skip to content

Serious interpreter crash and/or arbitrary memory leak using .read() on writable file #49927

Closed
@nneonneo

Description

@nneonneo
mannequin
BPO 5677
Nosy @loewis, @pitrou, @benjaminp, @skrah, @pmp-p
Files
  • fileread-errno.patch: Handle EBADF on Windows.
  • errno-ebadf.patch
  • errno-ebadf-tests.patch
  • add-readable-writable.patch: Add readable/writable to file object.
  • add-readable-writable2.patch: Add readable/writable to file object Rename README to README.rst and enhance formatting #2.
  • add-readable-writable3.patch: Add readable/writable to file object bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions #3.
  • 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 2010-02-05.17:13:40.973>
    created_at = <Date 2009-04-03.01:24:42.814>
    labels = ['interpreter-core', 'expert-IO', 'type-crash']
    title = 'Serious interpreter crash and/or arbitrary memory leak using .read() on writable file'
    updated_at = <Date 2010-02-05.17:13:40.972>
    user = 'https://bugs.python.org/nneonneo'

    bugs.python.org fields:

    activity = <Date 2010-02-05.17:13:40.972>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-02-05.17:13:40.973>
    closer = 'pitrou'
    components = ['Interpreter Core', 'IO']
    creation = <Date 2009-04-03.01:24:42.814>
    creator = 'nneonneo'
    dependencies = []
    files = ['16071', '16103', '16104', '16115', '16140', '16141']
    hgrepos = []
    issue_num = 5677
    keywords = ['patch']
    message_count = 18.0
    messages = ['85286', '85287', '98577', '98582', '98613', '98617', '98619', '98663', '98664', '98740', '98741', '98782', '98831', '98870', '98871', '98874', '98875', '98885']
    nosy_count = 6.0
    nosy_names = ['loewis', 'pitrou', 'nneonneo', 'benjamin.peterson', 'skrah', 'pmpp']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue5677'
    versions = ['Python 2.6', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-IOtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions