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

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