From 06a012a42c9884e3cd653e7826cff1ddec04eb6e Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Tue, 11 Apr 2017 10:54:12 +0800 Subject: Bug 697551: Make path and line buffers of equal size. Previously a too long line could be copied into the too short path buffer. --- platform/x11/jstest_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/x11/jstest_main.c') diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c index 13c3a0a3..f158d962 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) -- cgit v1.2.3