summaryrefslogtreecommitdiff
path: root/app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch')
-rw-r--r--app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch b/app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch
new file mode 100644
index 00000000000..a595253e864
--- /dev/null
+++ b/app-text/mupdf/files/mupdf-1.11-CVE-2017-6060.patch
@@ -0,0 +1,15 @@
+X-Git-Url: http://git.ghostscript.com/?p=user%2Fsebras%2Fmupdf.git;a=blobdiff_plain;f=platform%2Fx11%2Fjstest_main.c;h=f158d9628ed0c0a84e37fe128277679e8334422a;hp=13c3a0a3ba3ff4aae29f6882d23740833c1d842f;hb=06a012a42c9884e3cd653e7826cff1ddec04eb6e;hpb=34e18d127a02146e3415b33c4b67389ce1ddb614
+
+diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c
+index 13c3a0a..f158d96 100644
+--- a/platform/x11/jstest_main.c
++++ b/platform/x11/jstest_main.c
+@@ -346,7 +346,7 @@ main(int argc, char *argv[])
+ }
+ else if (match(&line, "OPEN"))
+ {
+- char path[1024];
++ char path[LONGLINE];
+ if (file_open)
+ pdfapp_close(&gapp);
+ if (prefix)