Skip to content

'tarfile.StreamError: seeking backwards is not allowed' when extract symlink #57009

@adunand

Description

@adunand
mannequin
BPO 12800
Nosy @gustaebel, @catlee, @taleinat, @serhiy-storchaka, @JulienPalard, @miss-islington, @websurfer5
PRs
  • bpo-12800: 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink #13217
  • bpo-12800: 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink #20972
  • bpo-12800: tarfile: Restore fix from 011525ee9 #21409
  • [3.9] bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) #23508
  • [3.8] bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) #23509
  • Files
  • test.py
  • 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/gustaebel'
    closed_at = <Date 2020-12-18.18:53:15.392>
    created_at = <Date 2011-08-20.22:57:39.951>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library']
    title = "'tarfile.StreamError: seeking backwards is not allowed' when extract symlink"
    updated_at = <Date 2020-12-18.18:53:15.392>
    user = 'https://bugs.python.org/adunand'

    bugs.python.org fields:

    activity = <Date 2020-12-18.18:53:15.392>
    actor = 'mdk'
    assignee = 'lars.gustaebel'
    closed = True
    closed_date = <Date 2020-12-18.18:53:15.392>
    closer = 'mdk'
    components = ['Library (Lib)']
    creation = <Date 2011-08-20.22:57:39.951>
    creator = 'adunand'
    dependencies = []
    files = ['49168']
    hgrepos = []
    issue_num = 12800
    keywords = ['patch']
    message_count = 13.0
    messages = ['142580', '221577', '221595', '223171', '341969', '369061', '369119', '369120', '373384', '377173', '381803', '381807', '381810']
    nosy_count = 9.0
    nosy_names = ['lars.gustaebel', 'catlee', 'taleinat', 'adunand', 'serhiy.storchaka', 'andrew.garner', 'mdk', 'miss-islington', 'Jeffrey.Kintscher']
    pr_nums = ['13217', '20972', '21409', '23508', '23509']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12800'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions