Skip to content

xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object #49127

@showard

Description

@showard
mannequin
BPO 4877
Nosy @loewis, @terryjreedy, @ezio-melotti
Files
  • pyexpat_segfault_on_closed_file.patch
  • issue4877.patch
  • issue4877.patch
  • issue4877-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/ezio-melotti'
    closed_at = <Date 2011-04-11.00:56:57.625>
    created_at = <Date 2009-01-08.05:01:13.888>
    labels = ['expert-XML', 'type-crash']
    title = 'xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object'
    updated_at = <Date 2011-04-11.00:56:57.624>
    user = 'https://bugs.python.org/showard'

    bugs.python.org fields:

    activity = <Date 2011-04-11.00:56:57.624>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2011-04-11.00:56:57.625>
    closer = 'ezio.melotti'
    components = ['XML']
    creation = <Date 2009-01-08.05:01:13.888>
    creator = 'showard'
    dependencies = []
    files = ['12646', '21587', '21589', '21590']
    hgrepos = []
    issue_num = 4877
    keywords = ['patch']
    message_count = 13.0
    messages = ['79398', '109610', '133274', '133332', '133348', '133349', '133350', '133363', '133368', '133369', '133370', '133491', '133492']
    nosy_count = 8.0
    nosy_names = ['loewis', 'terry.reedy', 'ezio.melotti', 'showard', 'santoso.wijaya', 'BreamoreBoy', 'louiscipher', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue4877'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    topic-XMLtype-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