Blame SOURCES/pax-3.4-abs100.patch

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