mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 19:05:01 +08:00
fix accessing the array dexBuffer, jsonBuffer out of bounds
This commit is contained in:
parent
98bd06eb44
commit
ff8a3481ab
@ -244,9 +244,6 @@ static void companion(int fd) {
|
|||||||
fclose(json);
|
fclose(json);
|
||||||
}
|
}
|
||||||
|
|
||||||
dexBuffer[dexSize] = 0;
|
|
||||||
jsonBuffer[jsonSize] = 0;
|
|
||||||
|
|
||||||
write(fd, &dexSize, sizeof(long));
|
write(fd, &dexSize, sizeof(long));
|
||||||
write(fd, dexBuffer, dexSize);
|
write(fd, dexBuffer, dexSize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user