Skip to content

libppd 2.0.0

Compare
Choose a tag to compare
@tillkamppeter tillkamppeter released this 22 Sep 07:26
· 19 commits to master since this release

Final 2.0.0 release with a security vulnerability fix and some other last fixes

  • 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).