Skip to content

decompress a tarball with wrong data #11

@jinzhubaofu

Description

@jinzhubaofu

I got two problem here.

  1. decompress a tar.gz file without valid gzip format content, and there should get a NO as return value and an error. But I get YES as return value;

    image

    Adding the part of code may fix it.

  2. decompres a tar file without valid tar format data, then the app will crash.

    image

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