Skip to content

Commit 72ca25d

Browse files
committed
docs: add note about ticket/sample
1 parent e9390d0 commit 72ca25d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/AXmlResourceParser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ private void doNext() throws IOException {
799799
int uri = mIn.readInt();
800800
mNamespaces.push(prefix, uri);
801801
} else {
802+
// #3838 - Some applications have a bogus element prior to the START_ELEMENT event. This breaks parsing &
803+
// until we have a robust chunk parser to handle this, this skip will suffice for now.
802804
if (!mHasEncounteredStartElement) {
803805
LOGGER.warning(String.format("Skipping end namespace event at %d, element has not been encountered.", arscHeader.endPosition));
804806
mIn.jumpTo(arscHeader.endPosition);

0 commit comments

Comments
 (0)