Skip to content

Commit 4d0fa40

Browse files
authored
Merge pull request #420 from MarcMil/m-fix-2
Create name in case resource was not found
2 parents 3429c8d + dd89956 commit 4d0fa40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soot-infoflow-android/src/soot/jimple/infoflow/android/axml/parsers/AXML20Parser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public void attr(String ns, String name, int resourceId, int type, Object obj) {
7878
// Without a name, we cannot really carry on
7979
return;
8080
}
81+
if (tname == null)
82+
tname = String.valueOf(resourceId);
8183
}
8284
} else
8385
tname = name.trim();

0 commit comments

Comments
 (0)