summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-11 06:58:30 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-11 06:58:30 +0000
commit219f0bd4129dbf50dc5eaf88c3489fd61347c61d (patch)
tree1c097c7247a21c12df792f8c605324980c4a057f /app-arch/cpio/files
parentold (diff)
downloadgentoo-2-219f0bd4129dbf50dc5eaf88c3489fd61347c61d.tar.gz
gentoo-2-219f0bd4129dbf50dc5eaf88c3489fd61347c61d.tar.bz2
gentoo-2-219f0bd4129dbf50dc5eaf88c3489fd61347c61d.zip
Grab fix from upstream for #153782 by Brian S. Stephan.
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'app-arch/cpio/files')
-rw-r--r--app-arch/cpio/files/cpio-2.7-link-terminate.patch19
-rw-r--r--app-arch/cpio/files/digest-cpio-2.7-r13
2 files changed, 22 insertions, 0 deletions
diff --git a/app-arch/cpio/files/cpio-2.7-link-terminate.patch b/app-arch/cpio/files/cpio-2.7-link-terminate.patch
new file mode 100644
index 000000000000..7a86954fc020
--- /dev/null
+++ b/app-arch/cpio/files/cpio-2.7-link-terminate.patch
@@ -0,0 +1,19 @@
+fix from upstream
+
+http://bugs.gentoo.org/153782
+
+===================================================================
+RCS file: /sources/cpio/cpio/src/copyout.c,v
+retrieving revision 1.19
+retrieving revision 1.20
+diff -u -r1.19 -r1.20
+--- cpio/src/copyout.c 2006/09/27 09:28:50 1.19
++++ cpio/src/copyout.c 2006/10/24 10:48:04 1.20
+@@ -806,6 +806,7 @@
+ free (link_name);
+ continue;
+ }
++ link_name[link_size] = 0;
+ cpio_safer_name_suffix (link_name, false,
+ !no_abs_paths_flag, true);
+ link_size = strlen (link_name);
diff --git a/app-arch/cpio/files/digest-cpio-2.7-r1 b/app-arch/cpio/files/digest-cpio-2.7-r1
new file mode 100644
index 000000000000..1c0c7862f504
--- /dev/null
+++ b/app-arch/cpio/files/digest-cpio-2.7-r1
@@ -0,0 +1,3 @@
+MD5 69ad6cb3d288aafe5f969f68d9fd0fb7 cpio-2.7.tar.bz2 698221
+RMD160 0ae35717237133da5bba18376af0ec685ac67360 cpio-2.7.tar.bz2 698221
+SHA256 b59390450233b5298d210f6369e98d91d07b7f4261ddb962d654185dd02b5b0e cpio-2.7.tar.bz2 698221