提交 82d40995 编写于 作者: S Skylot

fix(res): skip unused bytes in xml attributes parsing (#1013)

上级 5f659c8d
......@@ -280,13 +280,7 @@ public class BinaryXMLParser extends CommonBinaryParser {
int attributeNS = is.readInt32();
int attributeName = is.readInt32();
int attributeRawValue = is.readInt32();
int attrValSize = is.readInt16();
if (attrValSize != 0x08) {
die("attrValSize != 0x08 not supported");
}
if (is.readInt8() != 0) {
die("res0 is not 0");
}
is.skip(3);
int attrValDataType = is.readInt8();
int attrValData = is.readInt32();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册