diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-03 14:12:46 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-03 14:12:46 +0200 |
commit | b8d4983147141310383d423b1bcb9d19a490977a (patch) | |
tree | c6d00677cfb115e148b2355fa7712de2562861c3 /tests/tar/user-group-largenum/pax.tar | |
parent | b51a3ab10fad0d00c6fe2aa4d4c1afc6cfcf371f (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/user-group-largenum/pax.tar')
0 files changed, 0 insertions, 0 deletions