ApkDecoder: IOException: File name too long #537

Closed
iBotPeaches opened this Issue Mar 18, 2015 · 7 comments

Comments

Projects
None yet
1 participant
@iBotPeaches
Owner

iBotPeaches commented Mar 18, 2015

Original issue 426 created by linux.ninj4 on 2013-03-12T17:27:43.000Z:

What steps will reproduce the problem?

  1. Try to decode a sample with localApkDecoder.decode();

What is the expected output? What do you see instead?
Excpected: Decoding process fnishes without exception
Received:
Error occured while disassembling class <redacted> - skipping class
java.io.IOException: File name too long
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:900)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:176)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:49)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:74)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89)

(The apk is malware and I don't want to tip of the authors so I redacted the name)

What version of the product are you using? On what operating system?
apktool-1.5.2.jar
smali-1.2.6.jar
Linux 3.2.0-38-generic # 61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.
As with issue # 425 I cannot attach the apk file here. In this case it is android MALWARE (our software uses apktool to unpack and analyze it)
I can provide you with the file via dropbox/email.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #1 originally posted by connor.tumbleson on 2013-03-12T18:44:33.000Z:

Sure email it, connor (dot) tumbleson (at) gmail (dot) com

Owner

iBotPeaches commented Mar 18, 2015

Comment #1 originally posted by connor.tumbleson on 2013-03-12T18:44:33.000Z:

Sure email it, connor (dot) tumbleson (at) gmail (dot) com

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #2 originally posted by connor.tumbleson on 2013-05-04T16:55:29.000Z:

Do you have this APK? Trying to cleanup tracker and closing inactive/old reports.

Owner

iBotPeaches commented Mar 18, 2015

Comment #2 originally posted by connor.tumbleson on 2013-05-04T16:55:29.000Z:

Do you have this APK? Trying to cleanup tracker and closing inactive/old reports.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #3 originally posted by linux.ninj4 on 2013-05-21T10:26:40.000Z:

Sorry for the long delay. I sent the apk to you via e-mail. Thanks for you help :-)

Owner

iBotPeaches commented Mar 18, 2015

Comment #3 originally posted by linux.ninj4 on 2013-05-21T10:26:40.000Z:

Sorry for the long delay. I sent the apk to you via e-mail. Thanks for you help :-)

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #4 originally posted by connor.tumbleson on 2013-05-23T16:00:15.000Z:

Yeah this is a dex problem, which falls into smali :)

Its already known, and whenever we get to merging the final stable smali 2.0 into Apktool this will be fixed.

Owner

iBotPeaches commented Mar 18, 2015

Comment #4 originally posted by connor.tumbleson on 2013-05-23T16:00:15.000Z:

Yeah this is a dex problem, which falls into smali :)

Its already known, and whenever we get to merging the final stable smali 2.0 into Apktool this will be fixed.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #5 originally posted by connor.tumbleson on 2013-08-19T23:23:17.000Z:

wip-2.0 branch has this fix

Owner

iBotPeaches commented Mar 18, 2015

Comment #5 originally posted by connor.tumbleson on 2013-08-19T23:23:17.000Z:

wip-2.0 branch has this fix

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #6 originally posted by connor.tumbleson on 2013-08-19T23:29:55.000Z:

d'oh wrong bug.

Owner

iBotPeaches commented Mar 18, 2015

Comment #6 originally posted by connor.tumbleson on 2013-08-19T23:29:55.000Z:

d'oh wrong bug.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #7 originally posted by connor.tumbleson on 2013-09-14T21:41:43.000Z:

https://code.google.com/p/smali/source/detail?r=d868692e33220a20685b8c68a2e01ff8e7f76580&name=dexlib_redesign

Fixed in upstream smali project. Will be included in 2.0 release.

Owner

iBotPeaches commented Mar 18, 2015

Comment #7 originally posted by connor.tumbleson on 2013-09-14T21:41:43.000Z:

https://code.google.com/p/smali/source/detail?r=d868692e33220a20685b8c68a2e01ff8e7f76580&name=dexlib_redesign

Fixed in upstream smali project. Will be included in 2.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment