diff -Nru cups-2.4.7/debian/changelog cups-2.4.7/debian/changelog --- cups-2.4.7/debian/changelog 2024-04-11 21:23:19.000000000 +0000 +++ cups-2.4.7/debian/changelog 2024-04-12 20:13:19.000000000 +0000 @@ -1,3 +1,12 @@ +cups (2.4.7-1.2ubuntu7) noble; urgency=low + + * Another fix for crash caused by the fix of the background polling of + printer capability information in ...ubuntu4. Added also commit 6aeb03b + from 2.4.x GIT branch to the patch (LP: #2060692, Upstream issue #934, + pull request #935). + + -- Till Kamppeter Fri, 12 Apr 2024 22:13:19 +0200 + cups (2.4.7-1.2ubuntu6) noble; urgency=low * Fix crash caused by the fix of the background polling of printer diff -Nru cups-2.4.7/debian/patches/9110-delay-creating-driverless-printer-until-ppd-generated.patch cups-2.4.7/debian/patches/9110-delay-creating-driverless-printer-until-ppd-generated.patch --- cups-2.4.7/debian/patches/9110-delay-creating-driverless-printer-until-ppd-generated.patch 2024-04-11 21:17:59.000000000 +0000 +++ cups-2.4.7/debian/patches/9110-delay-creating-driverless-printer-until-ppd-generated.patch 2024-04-12 20:07:59.000000000 +0000 @@ -1085,3 +1085,20 @@ struct cupsd_printer_s { _cups_rwlock_t lock; /* Concurrency lock for background updates */ +--- a/scheduler/client.c ++++ b/scheduler/client.c +@@ -430,6 +430,14 @@ + con->file = -1; + } + ++ if (con->bg_pending) ++ { ++ /* ++ * Don't close connection when there is a background thread pending ++ */ ++ partial = 1; ++ } ++ + /* + * Close the socket and clear the file from the input set for select()... + */