blob: de2a8e493a3c447aa91d0457b75eecefa1aa2684 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
http://bugs.gentoo.org/60309
--- util.c
+++ util.c
@@ -743,7 +743,7 @@
allowdotdot = 1;
} else {
p += 2;
- if (*p == '/')
+ while (*p == '/')
p++;
if (sanp != start) {
/* back up sanp one level */
|