From 7de1d872103d0c461dfb35238cba5dc022022fc1 Mon Sep 17 00:00:00 2001 From: CKCat Date: Tue, 12 Mar 2024 08:48:55 +0800 Subject: [PATCH] keep at least a warning. --- jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java b/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java index 477d242b3f0..c455f7b2aca 100644 --- a/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java +++ b/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java @@ -193,6 +193,9 @@ private void parseNameSpaceEnd() throws IOException { die("NAMESPACE end is not 0x10 big"); } int dataSize = is.readInt32(); + if (dataSize != 0x18) { + LOG.warn("Invalid namespace end size"); + } int endLineNumber = is.readInt32(); int comment = is.readInt32(); int endPrefix = is.readInt32();