Bug fix release, to fix manual duplex via page-set=even/odd
, to not default to Letter page size if input page sizes can be used, preserve error status of Ghostscript and MuPDF, crash and memory bug fixes resulting from static analyzer OpenScanHub run.
- Correct adding blank page when printing even/odd pages for manual duplex
Thepage-set
option with choiceseven
andodd
is designed for doing manual duplex, by printing the odd pages first, turning the printed pages over and put them back into the input tray and then print the even pages. If the total number of pages is odd, a blank page needs to get added. This change does corrections to make this work correctly (cups-filters issue #541). - Do not default to input page size Letter when job format defines page sizes
For input formats which define the absolute size dimensions for each page (PostScript, PDF, CUPS/PWG/Apple Raster) we do not default to US Letter if no input page size is given (Issue #68, pull request #69). - Fix transferring error exit status from children in filter functions
The Ghostcript and MuPDF filter functions did not transfer error exit codes from the called command line utilities and returned the successful exit code from another called utility instead (Issue #76, pull request #77). bannertopdf.c
: Fix segfault when printing banners/test page
(Pull request #80)- Fix issues reported by OpenScanHub
Open source static analyzer OpenScanHub found several issues regarding resource leaks, security, buffer overflows etc. which are fixed now. libcupsfilters passes sanity testing with the changes (Pull request #79). - Update testfilters.c to resolve issues with different build directories
(Issue #66, pull request #74)