summaryrefslogtreecommitdiff
path: root/scripts/t/Dpkg_Source_Patch
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-05-02 00:09:43 +0200
committerGuillem Jover <guillem@debian.org>2014-06-05 20:56:44 +0200
commitdbb9cc36ae606bc5cbdb81baae02b9067913d143 (patch)
tree43477279deb697038a53e676d8532aa3989a4bce /scripts/t/Dpkg_Source_Patch
parent82f803592c55e5505f8d8e66ed6b011f03a6ba45 (diff)
downloaddpkg-dbb9cc36ae606bc5cbdb81baae02b9067913d143.tar.gz
scripts: Add test cases for C-style encoded pathnames in patches
This covers the directory traversal issues from CVE-2014-0471 and CVE-2014-3127.
Diffstat (limited to 'scripts/t/Dpkg_Source_Patch')
-rw-r--r--scripts/t/Dpkg_Source_Patch/c-style.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/t/Dpkg_Source_Patch/c-style.patch b/scripts/t/Dpkg_Source_Patch/c-style.patch
new file mode 100644
index 000000000..290a6406e
--- /dev/null
+++ b/scripts/t/Dpkg_Source_Patch/c-style.patch
@@ -0,0 +1,4 @@
+--- /dev/null
++++ "b/\tmp/c-style"
+@@ -0,0 +1 @@
++Escaped