From 62666f01b167bdf5975b08fbab5c2f34d9277db3 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Fri, 22 Sep 2023 09:15:58 +0200 Subject: [PATCH] libppd 2.0.0 Release --- CHANGES.md | 27 ++++++++++++++++++++++++++- INSTALL | 4 ++-- README.md | 2 +- configure.ac | 2 +- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a0b776d0..2fa568a7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,29 @@ -# CHANGES - libppd v2.0rc2 - 2023-06-20 +# CHANGES - libppd v2.0.0 - 2023-09-22 + +## CHANGES IN V2.0.0 (22th September 2023) + +- `ppd_scan_ps()`: Fix CVE-2023-4504 + Added check for end of buffer/string when reading escaped character + after backslash, return NULL (invalid string) if no character + follows. + +- Promoted the static function "ppd_decode()" of ppd/ppd.c into the + API function "ppdDecode()". + +- `ppdEmitJCLPDF()`: Decode "JCLToPDFInterpreter" value in ppdEmitJCLPDF() + Fixes "classic" (non-driverless) PDF printing (Issue #24). + +- `ppdLoadAttributes()`: Apply `cfIEEE1284NormalizeMakeModel()` to NickName + Make and model for the printer IPP attributes are extracted from the + PPD's NickName, which sometimes misses the manufacturer's + name. Extract it from the PPD's Manufacturer field or derive it from + the model name if possible. Enhanced alternative for pull request + #21. + +- `Makefile.am`: Fix disabling `testppdfile` + Missing conditionals made the binary built when disabled (Pull + request #18). + ## CHANGES IN V2.0rc2 (20th June 2023) diff --git a/INSTALL b/INSTALL index a7d0928c..56f3dbd8 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,5 @@ -INSTALL - OpenPrinting libppd v2.0rc2 - 2023-06-20 --------------------------------------------------- +INSTALL - OpenPrinting libppd v2.0.0 - 2023-09-22 +------------------------------------------------- This file describes how to compile and install OpenPrinting libppd from source code. For more information on OpenPrinting libppd see the diff --git a/README.md b/README.md index ba4430fb..046d9691 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OpenPrinting libppd v2.0rc2 - 2023-06-20 +# OpenPrinting libppd v2.0.0 - 2023-09-22 Looking for compile instructions? Read the file "INSTALL" instead... diff --git a/configure.ac b/configure.ac index d3b40bef..da62fa4e 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_PREREQ([2.65]) # ==================== # Version informations # ==================== -AC_INIT([libppd], [2.0rc2], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/]) +AC_INIT([libppd], [2.0.0], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/]) libppd_version="AC_PACKAGE_VERSION" libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`" libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"