Blame SOURCES/pax-3.4-abs100.patch

f9b685
--- pax-3.4/src/tar.c.abs100	2005-08-01 18:17:58.000000000 +0200
f9b685
+++ pax-3.4/src/tar.c	2007-06-20 10:44:54.000000000 +0200
f9b685
@@ -1181,6 +1181,14 @@ name_split (name, len)
f9b685
    * prefix we can find)
f9b685
    */
f9b685
   start = name + len - TNMSZ;
f9b685
+  /* if filename is absolute and exactly TNMSZ in length,
f9b685
+   * before we invoke the strict interpretation of /str below, we
f9b685
+   * check to see if there is another slash further along which
f9b685
+   * would allow a safe split. if this search fails then we hit
f9b685
+   * the end of the string and fail in a similar manner
f9b685
+   */
f9b685
+  if((start == name) && (*start == '/'))
f9b685
+    ++start;
f9b685
   while ((*start != '\0') && (*start != '/'))
f9b685
     ++start;
f9b685