In-memory tar archive creation
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
micahlee opened this issue 5 years ago · comments
When the size of an input file is exactly a factor of 512 (the block size), then an extra block of null bytes is incorrectly appended to the file content, causing the resulting tar archive to be corrupt.
512
Source Reference:
memtar/lib/memtar.rb
Line 19 in 17adecc