aboutsummaryrefslogtreecommitdiff
path: root/tests/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-08-16 13:39:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-08-16 14:01:19 +0200
commite95c0d752a5c14506a3db45de7d01c6462130d28 (patch)
tree4202409438dd4f770c912c07e3b92e80eea90cdc /tests/tar
parent80fe7f8d5b7dd51c97dd66152e255173f9a516dd (diff)
Add a libtar test case for a completely filled link target field
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar')
-rw-r--r--tests/tar/CREDITS4
-rw-r--r--tests/tar/format-acceptance/link_filled.tarbin0 -> 10240 bytes
-rw-r--r--tests/tar/sqfs.sha5121
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/tar/CREDITS b/tests/tar/CREDITS
index 6d55a59..776d93a 100644
--- a/tests/tar/CREDITS
+++ b/tests/tar/CREDITS
@@ -28,3 +28,7 @@ The following addtional files have been added:
- xattr/xattr-shily-binary.tar
Created from xattr/xattr-shily.tar by manually patching in a capability
xattr key/value pair.
+ - tar/format-acceptance/link_filled.tar
+ Contributed in GitHub issue #64. A tar ball that contains a hard link
+ where the 100 byte target field is completely filled without containing
+ a null-terminator.
diff --git a/tests/tar/format-acceptance/link_filled.tar b/tests/tar/format-acceptance/link_filled.tar
new file mode 100644
index 0000000..9b80f89
--- /dev/null
+++ b/tests/tar/format-acceptance/link_filled.tar
Binary files differ
diff --git a/tests/tar/sqfs.sha512 b/tests/tar/sqfs.sha512
index 51db821..bcdd245 100644
--- a/tests/tar/sqfs.sha512
+++ b/tests/tar/sqfs.sha512
@@ -17,6 +17,7 @@ d7fd043c8c4614b6b8b430ef8c56fcf35417d6886a3679762b83afcbfa231c9169b514d1da8880e5
d7fd043c8c4614b6b8b430ef8c56fcf35417d6886a3679762b83afcbfa231c9169b514d1da8880e54303df749e0267a606dd3631b4e91bb7cf91d8e71f329687 tests/tar/format-acceptance/v7.sqfs
d7fd043c8c4614b6b8b430ef8c56fcf35417d6886a3679762b83afcbfa231c9169b514d1da8880e54303df749e0267a606dd3631b4e91bb7cf91d8e71f329687 tests/tar/format-acceptance/pax.sqfs
d7fd043c8c4614b6b8b430ef8c56fcf35417d6886a3679762b83afcbfa231c9169b514d1da8880e54303df749e0267a606dd3631b4e91bb7cf91d8e71f329687 tests/tar/format-acceptance/ustar.sqfs
+2f41b640b8aeec7f5e489fbbeef22bac118c8b1cb068b795433bb6e2f8e9a1ff4f11654e9617b9547ff34b4da7b8e660afcbe69cf630bc112c63693fc56d4e3e tests/tar/format-acceptance/link_filled.sqfs
f97561018def03e8af41c3b479925052469d4a15645886c500a60a5caa835a1ad152b4e72912df52bde29e3645d6bda46002dd91982c3bc91ff844b5724d0917 tests/tar/user-group-largenum/gnu.sqfs
b34d720e04bb7c1fb93c9c3520aa1c653992f9b80339de2416097d95603ab7bbc02ea46300823ec3808c0cfe37ed7477f110ac2eb0fd791832a93f3e5c8a1500 tests/tar/user-group-largenum/8-digit.sqfs
f97561018def03e8af41c3b479925052469d4a15645886c500a60a5caa835a1ad152b4e72912df52bde29e3645d6bda46002dd91982c3bc91ff844b5724d0917 tests/tar/user-group-largenum/pax.sqfs