Skip to contentSkip to conversation

libppd: upgrade 2.0.0 -> 2.1.1

PATCH New Gyorgy Sarvari 1 participant 1 message Oct 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libppd: upgrade 2.0.0 -> 2.1.1

This upgrade contains a fix for CVE-2024-47175.

Changelog:

2.1.1:
-pdftops: Use Poppler for a few old Epson laser printers This
works around documents being printed off-centre, shifted towards the top right. Affected are printers using epsoneplijs:
EPL-5700L, EPL-5800L, EPL-5900L, EPL-6100L, EPL-6200L.
-Fixed bugs discovered by static analyzer OpenScanHub Possible
buffer overflows, uninitialized memory, format string issues and resource leaks, ...
-Fix crash bugs in ppdLoadAttributes() When parsing the
"*cupsFilter(2): ..." lines in the PPD file use memmove() instead of strcpy() as the latter does not support handling overlapping memory portions and do not move running pointer beyond the end of the input string.

2.1.0:
-Prevent PPD generation based on invalid IPP response Overtaken
from CUPS 2.x: Validate IPP attributes in PPD generator, refactor make-and-model code, PPDize preset and template names, quote PPD localized strings. Fixes CVE-2024-47175.

2.1b:
-Added support for libcups3 (libcups of CUPS 3.x) With these changes
libcupsfilters can be built either with libcups2 (libcups of CUPS 2.x) or libcups3 (libcups of CUPS 3.x).
-Prefer PDF again in PPDs for driverless printers PDF works better with
finishing, especially combinations of multiple copies, collation, and stapling/binding.
-Use 0.5mm as tolerance when comparing page sizes For the PWG two page
sizes are considered the same when the dimensions differ no more than 0.5 mm, libppd used too tight tolerances.
-PPD generator: Check for required attributes when choosing input format
Check for PCLm and PWG the minimum of attributes which we require during PPD generation.
-ppdLoadAttributes(): Improve check whether parameters are integer -ppdLoadAttributes(): Fix crash when page size could not get determined -Fix crash if there is no page size for "Custom"
-Fix crash when incoming *ptr is NULL
-libcups2 compatibility: Use proper CUPS array callback function types
Fixed CUPS array function call in libcups2 compatibility layer
-Build system: Fix failure to correctly link to zlib Look up zlib
properly with pkg-config

---
 .../recipes-printing/cups/{libppd_2.0.0.bb => libppd_2.1.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-printing/cups/{libppd_2.0.0.bb => libppd_2.1.1.bb} (82%)
meta-oe/recipes-printing/cups/libppd_2.1.1.bb renamed from meta-oe/recipes-printing/cups/libppd_2.0.0.bb +1 -1
similarity index 82%
rename from meta-oe/recipes-printing/cups/libppd_2.0.0.bb
rename to meta-oe/recipes-printing/cups/libppd_2.1.1.bb
index 99b1f6e730..1b7d2be844 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c1fca671047153ce6825c4ab06f2ab49"
 DEPENDS = "libcupsfilters"
 
 SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz"
-SRC_URI[sha256sum] = "882d3c659a336e91559de8f3c76fc26197fe6e5539d9b484a596e29a5a4e0bc8"
+SRC_URI[sha256sum] = "3fa341cc03964046d2bf6b161d80c1b4b2e20609f38d860bcaa11cb70c1285e4"
 
 inherit autotools gettext pkgconfig github-releases