[Bug 6086] tar is broken on Android: resulting stream is too short and loses information

bugzilla at busybox.net bugzilla at busybox.net
Tue Jul 30 19:57:27 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6086

--- Comment #2 from Danila Galimov <bgrh at mail.ru> 2013-07-30 19:57:50 UTC ---
I have the same(or maybe not the same) problem with decompressing tar.gz files
on Android. I'm using newest BusyBox 1.21.1.

When I'm trying to unpack the file, it says

1|shell at android:/sdcard/flash $ tar -xvZf joe-3.7-android.tar.gz
tar -xvZf joe-3.7-android.tar.gz
tar: invalid magic
tar: short read

Please find the hexdump attached

shell at android:/sdcard/flash $ hexdump -C joe-3.7-android.tar.gz | head
hexdump -C joe-3.7-android.tar.gz | head
00000000  1f 8b 08 00 04 ed 50 4b  00 03 ec 9a 0d 98 55 55  |......PK......UU|
00000010  b9 c7 17 30 0c 87 71 54  b0 d1 48 30 27 43 2f e9  |...0..qT..H0'C/.|
00000020  24 33 c3 08 a8 94 98 a8  a8 63 8d 8a 36 2a 79 38  |$3.......c..6*y8|
00000030  73 ce 9e 39 87 39 5f 9c  bd 0f 03 3a 25 16 1a f9  |s..9.9_....:%...|
00000040  51 54 54 68 58 64 98 68  98 9a 68 94 94 dc 61 3e  |QTThXd.h..h...a>|
00000050  e8 46 c6 4d 2b 6e 5a 72  6f 53 97 ba 54 52 d4 a5  |.F.M+nZroS..TR..|
00000060  1b 69 bf 77 af 35 b3 5f  e6 31 6f 3d 4f fa dc e7  |.i.w.5._.1o=O...|
00000070  b9 9d 87 3f 6b fd f7 bb  3e de f5 be ef fa da 7b  |...?k...>......{|
00000080  a6 a7 12 41 62 ba 79 55  7f f5 fc 66 cd 3a c3 a6  |...Ab.yU...f.:..|
00000090  33 6d da d0 58 1f a6 ee  67 1a 1a 66 34 36 35 cc  |3m..X...g..f465.|

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list