From d5796706e4189c053bd493501484327a10ae8684 Mon Sep 17 00:00:00 2001 From: toby Date: Wed, 8 Feb 2017 23:52:59 -0500 Subject: [PATCH] Change Tar block padding to 2 blocks --- src/js/operations/Compress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/operations/Compress.js b/src/js/operations/Compress.js index a2dd33c..7b7c875 100755 --- a/src/js/operations/Compress.js +++ b/src/js/operations/Compress.js @@ -408,7 +408,7 @@ var Compress = { }; Tarball.prototype.writeEndBlocks = function() { - var filler = new Array(512 * 1); + var filler = new Array(512 * 2); filler.fill(0); this.writeBytes(filler); };