mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-22 09:31:48 +00:00
c8080e6bfd
Former-commit-id: fbf2a4fa64df0376c1f2e6ac3f64e45de8f7c7b1
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);
|