aboutsummaryrefslogtreecommitdiff
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-12-01 15:15:28 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-12-01 15:15:28 +0200
commit746f3ff670dcfcdd28fcc990e79cd6fccc7ae48d (patch)
tree9fdb2a9a498ea83d3e522553a060c6e02cee1b83 /tests/testsuite.at
parent3945f9db44c935608caa5f084fd7f67ae59ee9e1 (diff)
downloadcpio-746f3ff670dcfcdd28fcc990e79cd6fccc7ae48d.tar.gz
cpio-746f3ff670dcfcdd28fcc990e79cd6fccc7ae48d.tar.bz2
Fix memory overrun on reading improperly created link records.
See http://lists.gnu.org/archive/html/bug-cpio/2014-11/msg00007.html * src/copyin.c (get_link_name): New function. (list_file, copyin_link): use get_link_name * tests/symlink-bad-length.at: New file. * tests/symlink-long.at: New file. * tests/Makefile.am: Add new files. * tests/testsuite.at: Likewise.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index e67689f..3b5377e 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -32,6 +32,8 @@ m4_include([version.at])
m4_include([inout.at])
m4_include([symlink.at])
+m4_include([symlink-bad-length.at])
+m4_include([symlink-long.at])
m4_include([symlink-to-stdout.at])
m4_include([interdir.at])

Return to:

Send suggestions and report system problems to the System administrator.