SOURCES: kdelibs-fileshareset.patch - updated

arekm arekm at pld-linux.org
Sat Sep 9 13:21:44 CEST 2006


Author: arekm                        Date: Sat Sep  9 11:21:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   kdelibs-fileshareset.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/kdelibs-fileshareset.patch
diff -u SOURCES/kdelibs-fileshareset.patch:1.1 SOURCES/kdelibs-fileshareset.patch:1.2
--- SOURCES/kdelibs-fileshareset.patch:1.1	Sat May 29 15:33:31 2004
+++ SOURCES/kdelibs-fileshareset.patch	Sat Sep  9 13:21:38 2006
@@ -37,13 +37,13 @@
 +	my $mercy = shift; # true if dir doesn't have to exist
      my $ok = 1;
 -    $ok &&= m|^/|;
--    $ok &&= !m|/../|;
+-    $ok &&= !m|/\.\./|;
 -    $ok &&= !m|[\0\n\r]|;
 -    $ok &&= -d $_;
 -    $ok &&= own($_);
 +	$ok &&= length $_;
 +    $ok &&=  m#^/#;
-+    $ok &&= !m#/../#;
++    $ok &&= !m#/\.\./#;
 +    $ok &&= !m#[\0\n\r]#;
 +	if ($ok && $mercy && !-d && m#^/#) {
 +		my $tmp = $_;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/kdelibs-fileshareset.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list