summaryrefslogtreecommitdiff
path: root/tests/tar/file-size/pax.tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-03 14:12:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-03 14:12:46 +0200
commitb8d4983147141310383d423b1bcb9d19a490977a (patch)
treec6d00677cfb115e148b2355fa7712de2562861c3 /tests/tar/file-size/pax.tar
parentb51a3ab10fad0d00c6fe2aa4d4c1afc6cfcf371f (diff)
Fix: don't blindly strcpy() the tar header name
If the tar header name is exactely 100 bytes long, it does not have a trailing null byte. Using strlen/strcpy on it effectively concatenates the following fields contents to it. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar/file-size/pax.tar')
0 files changed, 0 insertions, 0 deletions