import cups-filters-1.20.0-19.el8
This commit is contained in:
parent
041922376f
commit
718e8cdb99
18
SOURCES/cups-browsed-socket-leak.patch
Normal file
18
SOURCES/cups-browsed-socket-leak.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff --git a/utils/cups-browsed.c b/utils/cups-browsed.c
|
||||
index c6c257e..2cc64dd 100644
|
||||
--- a/utils/cups-browsed.c
|
||||
+++ b/utils/cups-browsed.c
|
||||
@@ -2747,6 +2747,13 @@ on_printer_state_changed (CupsNotifier *object,
|
||||
if (i == q->last_printer)
|
||||
break;
|
||||
}
|
||||
+
|
||||
+ /* Close remote connection */
|
||||
+ if (http) {
|
||||
+ httpClose(http);
|
||||
+ http = NULL;
|
||||
+ }
|
||||
+
|
||||
/* Find the ID of the current job */
|
||||
request = ippNewRequest(IPP_GET_JOBS);
|
||||
httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL,
|
@ -4,7 +4,7 @@
|
||||
Summary: OpenPrinting CUPS filters and backends
|
||||
Name: cups-filters
|
||||
Version: 1.20.0
|
||||
Release: 18%{?dist}
|
||||
Release: 19%{?dist}
|
||||
|
||||
# For a breakdown of the licensing, see COPYING file
|
||||
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
|
||||
@ -37,6 +37,8 @@ Patch05: cups-browsed.8.patch
|
||||
Patch06: 0001-foomatic-rip-Changed-Ghostscript-call-to-count-pages.patch
|
||||
# rebuild and patch for FIPS compliance, backported from upstream (#1605101)
|
||||
Patch07: pdftopdf-nocrypt.patch
|
||||
# 1776270 - cups-browsed leaks sockets
|
||||
Patch08: cups-browsed-socket-leak.patch
|
||||
|
||||
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -152,6 +154,8 @@ This is the development package for OpenPrinting CUPS filters and backends.
|
||||
%patch06 -p1 -b .foomatic-rip-crash
|
||||
# 1605101 - qpdf: should not re-implement crypto
|
||||
%patch07 -p1 -b .pdftopdf-nocrypt
|
||||
# 1776270 - cups-browsed leaks sockets
|
||||
%patch08 -p1 -b .cups-browsed-socket-leak
|
||||
|
||||
%build
|
||||
# work-around Rpath
|
||||
@ -298,6 +302,9 @@ make check
|
||||
%{_libdir}/libfontembed.so
|
||||
|
||||
%changelog
|
||||
* Mon Nov 25 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-19
|
||||
- 1776270 - cups-browsed leaks sockets
|
||||
|
||||
* Mon Sep 02 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-18
|
||||
- 1605101 - qpdf: should not re-implement crypto
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user