tarkit
tarkit copied to clipboard
decompress a tarball with wrong data
I got two problem here.
-
decompress a tar.gz file without valid gzip format content, and there should get a
NO
as return value and an error. But I getYES
as return value;Adding the part of code may fix it.
-
decompres a tar file without valid tar format data, then the app will crash.
Interesting, I haven't seen that before. I will take a look when time permits.