]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Set fd to -1 1405/head
authorAZero13 <gfunni234@gmail.com>
Tue, 4 Nov 2025 00:22:51 +0000 (19:22 -0500)
committerGitHub <noreply@github.com>
Tue, 4 Nov 2025 00:22:51 +0000 (19:22 -0500)
tools/ippeveprinter.c

index d6946a883b2ecabee74b637c46eed4c32f1f9b5e..edb18378af7f0355247ec09506dffada291ae611 100644 (file)
@@ -2094,6 +2094,7 @@ finish_document_data(
   // Close the file descriptor
   if (close(job->fd))
   {
+    job->fd = -1;
     respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to close print file: %s", strerror(errno));
     goto cleanup_and_abort;
   }