From 2a3865a3b7bfb17623e4f04a62518f35d4da7f4c Mon Sep 17 00:00:00 2001 From: n1073645 Date: Mon, 18 Nov 2019 08:40:57 +0000 Subject: [PATCH] Tidied up ExtractTAR --- src/core/lib/FileSignatures.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs index 1ee7a3a2..ecc5e72b 100644 --- a/src/core/lib/FileSignatures.mjs +++ b/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("")) { - // This is 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 if it were not here it relies on there being at least 0x106 padding of 0s at the end of the TAR. stream.moveBackwardsBy(0x106); break; }