From 21d786a53db64266bea52956c1d43e2b8aba0e09 Mon Sep 17 00:00:00 2001 From: Chenyang Wang Date: Sun, 13 Aug 2023 17:12:04 +0800 Subject: [PATCH] =?UTF-8?q?CVE-2020-16306=20=E5=AE=89=E5=85=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20:ghostscript=20denial=20of=20service;=20issue:#I7Q4?= =?UTF-8?q?ZA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devices/gdevtsep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devices/gdevtsep.c b/devices/gdevtsep.c index 5fb1025..0c860d8 100644 --- a/devices/gdevtsep.c +++ b/devices/gdevtsep.c @@ -2365,6 +2365,7 @@ tiffsep_print_page(gx_device_printer * pdev, gp_file * file) "\nUse of the %%d format is required to output more than one page to tiffsep.\n" "See doc/Devices.htm#TIFF for details.\n\n"); code = gs_note_error(gs_error_ioerror); + goto done; } /* Write the page directory for the CMYK equivalent file. */ if (!tfdev->comp_file) { @@ -2726,6 +2727,7 @@ tiffsep1_print_page(gx_device_printer * pdev, gp_file * file) "\nUse of the %%d format is required to output more than one page to tiffsep1.\n" "See doc/Devices.htm#TIFF for details.\n\n"); code = gs_note_error(gs_error_ioerror); + goto done; } /* If the output file is on disk and the name contains a page #, */ /* then delete the previous file. */ -- Gitee