Skip to content
Snippets Groups Projects
Unverified Commit ff8a3481 authored by shìwēi nguyen's avatar shìwēi nguyen Committed by GitHub
Browse files

fix accessing the array dexBuffer, jsonBuffer out of bounds

parent 98bd06eb
No related branches found
No related tags found
No related merge requests found
......@@ -244,9 +244,6 @@ static void companion(int fd) {
fclose(json);
}
dexBuffer[dexSize] = 0;
jsonBuffer[jsonSize] = 0;
write(fd, &dexSize, sizeof(long));
write(fd, dexBuffer, dexSize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment