mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-11 20:46:07 +01:00
Merge pull request #1324 from jamestut/arscfix2
Skip additional payload data of TYPE chunk
This commit is contained in:
commit
81b22df13c
@ -154,6 +154,12 @@ public class ARSCDecoder {
|
||||
|
||||
while (type == Header.TYPE_TYPE) {
|
||||
readTableType();
|
||||
|
||||
// skip "TYPE 8 chunks" and/or padding data at the end of this chunk
|
||||
if(mCountIn.getCount() < mHeader.endPosition) {
|
||||
mCountIn.skip(mHeader.endPosition - mCountIn.getCount());
|
||||
}
|
||||
|
||||
type = nextChunk().type;
|
||||
|
||||
addMissingResSpecs();
|
||||
|
Loading…
Reference in New Issue
Block a user