Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 189682
Collapse All | Expand All

(-)tar-1.15.1/src/names.c.orig (-2 / +1 lines)
Lines 1152-1162 contains_dot_dot (char const *name) Link Here
1152
      if (p[0] == '.' && p[1] == '.' && (ISSLASH (p[2]) || !p[2]))
1152
      if (p[0] == '.' && p[1] == '.' && (ISSLASH (p[2]) || !p[2]))
1153
	return 1;
1153
	return 1;
1154
1154
1155
      do
1155
      while (! ISSLASH (*p))
1156
	{
1156
	{
1157
	  if (! *p++)
1157
	  if (! *p++)
1158
	    return 0;
1158
	    return 0;
1159
	}
1159
	}
1160
      while (! ISSLASH (*p));
1161
    }
1160
    }
1162
}
1161
}

Return to bug 189682