Skip to content

Commit

Permalink
Use buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOMara committed Jan 20, 2025
1 parent 904e4a5 commit 5c9c54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macho/universal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class Universal {
break;
}
off += got;
const gapBytes = new Uint8Array(got);
const gapBytes = new Uint8Array(read);
for (let x = 0; x < got; x++) {
if (gapBytes[x]) {
this.mSuspicious = mSuspicious = true;
Expand Down

0 comments on commit 5c9c54f

Please sign in to comment.