We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5165533 commit aa9ae83Copy full SHA for aa9ae83
1 file changed
src/Tar.php
@@ -573,7 +573,7 @@ protected function parseHeader($block)
573
// Handle Long-Link entries from GNU Tar
574
if ($return['typeflag'] == 'L') {
575
// following data block(s) is the filename
576
- $filename = trim($this->readbytes(ceil($header['size'] / 512) * 512));
+ $filename = trim($this->readbytes(ceil($return['size'] / 512) * 512));
577
// next block is the real header
578
$block = $this->readbytes(512);
579
$return = $this->parseHeader($block);
0 commit comments