Blame SOURCES/ghostscript-cve-2020-16306.patch

0ab051
diff --git a/devices/gdevtsep.c b/devices/gdevtsep.c
0ab051
index 6a50a4a..471fcb5 100644
0ab051
--- a/devices/gdevtsep.c
0ab051
+++ b/devices/gdevtsep.c
0ab051
@@ -2332,6 +2332,7 @@ tiffsep_print_page(gx_device_printer * pdev, FILE * file)
0ab051
                 "\nUse of the %%d format is required to output more than one page to tiffsep.\n"
0ab051
                 "See doc/Devices.htm#TIFF for details.\n\n");
0ab051
        code = gs_note_error(gs_error_ioerror);
0ab051
+       goto done;
0ab051
     }
0ab051
     /* Write the page directory for the CMYK equivalent file. */
0ab051
     if (!tfdev->comp_file) {
0ab051
@@ -2685,6 +2686,7 @@ tiffsep1_print_page(gx_device_printer * pdev, FILE * file)
0ab051
                 "\nUse of the %%d format is required to output more than one page to tiffsep1.\n"
0ab051
                 "See doc/Devices.htm#TIFF for details.\n\n");
0ab051
        code = gs_note_error(gs_error_ioerror);
0ab051
+       goto done;
0ab051
     }
0ab051
     /* If the output file is on disk and the name contains a page #, */
0ab051
     /* then delete the previous file. */