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

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