소스 검색

Tidied up ExtractTAR

n1073645 5 년 전
부모
커밋
7a4ebbf47e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/lib/FileSignatures.mjs

+ 1 - 1
src/core/lib/FileSignatures.mjs

@@ -2857,7 +2857,7 @@ export function extractTAR(bytes, offset) {
         stream.moveForwardsBy(0x101);
         if (stream.getBytes(5).join("") !== [0x75, 0x73, 0x74, 0x61, 0x72].join("")) {
 
-            // Needed since if it were not here it relies on there being at least 0x106 padding of 0s at the end of the TAR.
+            // Needed since we cannot rely on there being at least 0x106 padding of 0s at the end of the TAR(even though there usually is).
             stream.moveBackwardsBy(0x106);
             break;
         }