mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-27 03:39:11 +00:00
12 lines
453 B
Diff
12 lines
453 B
Diff
|
diff --git a/scripts/Dpkg/Source/Package/V3/quilt.pm b/scripts/Dpkg/Source/Package/V3/quilt.pm
|
||
|
--- a/scripts/Dpkg/Source/Package/V3/quilt.pm
|
||
|
+++ b/scripts/Dpkg/Source/Package/V3/quilt.pm
|
||
|
@@ -123,6 +123,7 @@ sub read_patch_list {
|
||
|
}
|
||
|
}
|
||
|
next if $opts{"skip_auto"} and $_ eq $auto_patch;
|
||
|
+ error(_g("%s contains an insecure path: %s"), $file, $_) if m{(^|/)\.\./};
|
||
|
push @patches, $_;
|
||
|
}
|
||
|
close(SERIES);
|