Annotation of /trunk/cpio/patches/cpio-2.7-link-terminate.patch
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 542 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 542 byte(s)
-import
1 | niro | 144 | fix from upstream |
2 | |||
3 | http://bugs.gentoo.org/153782 | ||
4 | |||
5 | =================================================================== | ||
6 | RCS file: /sources/cpio/cpio/src/copyout.c,v | ||
7 | retrieving revision 1.19 | ||
8 | retrieving revision 1.20 | ||
9 | diff -u -r1.19 -r1.20 | ||
10 | --- cpio/src/copyout.c 2006/09/27 09:28:50 1.19 | ||
11 | +++ cpio/src/copyout.c 2006/10/24 10:48:04 1.20 | ||
12 | @@ -806,6 +806,7 @@ | ||
13 | free (link_name); | ||
14 | continue; | ||
15 | } | ||
16 | + link_name[link_size] = 0; | ||
17 | cpio_safer_name_suffix (link_name, false, | ||
18 | !no_abs_paths_flag, true); | ||
19 | link_size = strlen (link_name); |