diff --git a/0001-Drop-non-keyword-characters-from-PPD-names-Issue-111.patch b/0001-Drop-non-keyword-characters-from-PPD-names-Issue-111.patch new file mode 100644 index 0000000..9d2cbba --- /dev/null +++ b/0001-Drop-non-keyword-characters-from-PPD-names-Issue-111.patch @@ -0,0 +1,29 @@ +From c0b8e48125044510d6cd6858258a15fc742b97e0 Mon Sep 17 00:00:00 2001 +From: Michael R Sweet +Date: Wed, 2 Apr 2025 15:14:58 -0400 +Subject: [PATCH] Drop non-keyword characters from PPD names (Issue #1118) + +--- + CHANGES.md | 1 + + cups/ppd-cache.c | 7 +------ + 2 files changed, 2 insertions(+), 6 deletions(-) + +diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c +index 5d61f7c9f..a4c2b4c5b 100644 +--- a/cups/ppd-cache.c ++++ b/cups/ppd-cache.c +@@ -5680,11 +5680,6 @@ pwg_unppdize_name(const char *ppd, /* I - PPD keyword */ + nodash = 1; + } + } +- else +- { +- *ptr++ = *ppd; +- nodash = 0; +- } + + if (nodash == 0) + { +-- +2.50.1 + diff --git a/cups.spec b/cups.spec index ef8c70f..9e41b0a 100644 --- a/cups.spec +++ b/cups.spec @@ -24,7 +24,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 2.3.3%{OP_VER} -Release: 34%{?dist} +Release: 35%{?dist} License: ASL 2.0 Url: http://www.cups.org/ # Apple stopped uploading the new versions into github, use OpenPrinting fork @@ -165,6 +165,9 @@ Patch51: 0001-Add-NoSystem-SSLOptions-value.patch Patch52: CVE-2025-58060.patch # RHEL-113078 CVE-2025-58364 cups: Null Pointer Dereference in CUPS ipp_read_io() Leading to Remote DoS Patch53: CVE-2025-58364.patch +# RHEL-102665 The KONICA MINOLTA C352 is not distributed using cups-browsed and the included ppd file +# https://github.com/OpenPrinting/cups/commit/c0b8e48125044 +Patch54: 0001-Drop-non-keyword-characters-from-PPD-names-Issue-111.patch ##### Patches removed because IMHO they aren't no longer needed @@ -456,6 +459,8 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in %patch52 -p1 -b .cve-2025-58060 # RHEL-113078 CVE-2025-58364 cups: Null Pointer Dereference in CUPS ipp_read_io() Leading to Remote DoS %patch53 -p1 -b .cve-2025-58364 +# RHEL-102665 The KONICA MINOLTA C352 is not distributed using cups-browsed and the included ppd file +%patch54 -p1 -b .drop-brackets %if %{lspp} @@ -921,6 +926,9 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man7/ippeveps.7.gz %changelog +* Thu Oct 02 2025 Zdenek Dohnal - 1:2.3.3op2-35 +- RHEL-102665 The KONICA MINOLTA C352 is not distributed using cups-browsed and the included ppd file + * Thu Sep 11 2025 Zdenek Dohnal - 1.2.3.3op2-34 - RHEL-112435 CVE-2025-58060 cups: Authentication Bypass in CUPS Authorization Handling - RHEL-113078 CVE-2025-58364 cups: Null Pointer Dereference in CUPS ipp_read_io() Leading to Remote DoS