2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 02:19:53 +00:00
xcat-dep/dpkg/fedora-fix-CVE-2010-0396-01.patch
arifali c8080e6bfd added dpkg for the purpose of provisioning ubuntu/debian machines from rhel/sles
Former-commit-id: fbf2a4fa64df0376c1f2e6ac3f64e45de8f7c7b1
2012-04-07 19:32:30 +00:00

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);