Skip to content

zipfile.ZipFile() unable to open zip File with a short extra header #58523

@pleed

Description

@pleed
mannequin
BPO 14315
Nosy @loewis, @terryjreedy, @gpshead, @mdickinson, @merwok, @meadori, @serhiy-storchaka
Files
  • bla.apk: APK File (Zip Format) that unzips but crashes when opened with zipfile
  • fix_zipfile_extra.patch: FIX: Ignore extra padding bytes in zip file
  • zipfile_extra_test.patch: Test for zipfile with padding.
  • 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/gpshead'
    closed_at = <Date 2014-05-30.06:59:38.064>
    created_at = <Date 2012-03-15.11:15:45.559>
    labels = ['type-bug', 'library']
    title = 'zipfile.ZipFile() unable to open zip File with a short extra header'
    updated_at = <Date 2018-08-06.06:43:30.242>
    user = 'https://bugs.python.org/pleed'

    bugs.python.org fields:

    activity = <Date 2018-08-06.06:43:30.242>
    actor = 'serhiy.storchaka'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2014-05-30.06:59:38.064>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2012-03-15.11:15:45.559>
    creator = 'pleed'
    dependencies = []
    files = ['24860', '24902', '25564']
    hgrepos = []
    issue_num = 14315
    keywords = ['patch']
    message_count = 31.0
    messages = ['155874', '156089', '156110', '156135', '156147', '159584', '159602', '160538', '160539', '160541', '160550', '160553', '160590', '160591', '160645', '160655', '160663', '160664', '160673', '160684', '163743', '163749', '163813', '163831', '163835', '163855', '163857', '187177', '219377', '219378', '323179']
    nosy_count = 12.0
    nosy_names = ['loewis', 'terry.reedy', 'gregory.p.smith', 'mark.dickinson', 'alanmcintyre', 'eric.araujo', 'ubershmekel', 'meador.inge', 'python-dev', 'serhiy.storchaka', 'pleed', 'void.sender']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue14315'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions