Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decompress a tarball with wrong data #11

Open
jinzhubaofu opened this issue Feb 2, 2016 · 1 comment
Open

decompress a tarball with wrong data #11

jinzhubaofu opened this issue Feb 2, 2016 · 1 comment

Comments

@jinzhubaofu
Copy link

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

@daltoniam
Copy link
Owner

Interesting, I haven't seen that before. I will take a look when time permits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants