mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
set readConfigFlags read default value to 28
fix if size == 28, remainingSize error.
This commit is contained in:
parent
5f5f50f6fd
commit
6f617db53f
@ -264,7 +264,7 @@ public class ARSCDecoder {
|
|||||||
private ResConfigFlags readConfigFlags() throws IOException,
|
private ResConfigFlags readConfigFlags() throws IOException,
|
||||||
AndrolibException {
|
AndrolibException {
|
||||||
int size = mIn.readInt();
|
int size = mIn.readInt();
|
||||||
int read = 0;
|
int read = 28;
|
||||||
|
|
||||||
if (size < 28) {
|
if (size < 28) {
|
||||||
throw new AndrolibException("Config size < 28");
|
throw new AndrolibException("Config size < 28");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user