]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoBump version numbers. branch-2.2 v2.2.13
Michael R Sweet [Fri, 13 Dec 2019 14:42:18 +0000 (09:42 -0500)] 
Bump version numbers.

4 years agoRevert the IPP part of the compiler warning fixes from master.
Michael R Sweet [Fri, 13 Dec 2019 14:39:42 +0000 (09:39 -0500)] 
Revert the IPP part of the compiler warning fixes from master.

4 years agoFix some new compiler warnings (Issue #5700)
Michael R Sweet [Fri, 13 Dec 2019 14:38:49 +0000 (09:38 -0500)] 
Fix some new compiler warnings (Issue #5700)

4 years agoCVE-2019-2228: Fix ippSetValueTag validation of default language.
Michael R Sweet [Fri, 13 Dec 2019 14:30:46 +0000 (09:30 -0500)] 
CVE-2019-2228: Fix ippSetValueTag validation of default language.

4 years agoFix off-by-one error in ippEnumString (Issue #5695)
Michael R Sweet [Wed, 4 Dec 2019 18:45:24 +0000 (13:45 -0500)] 
Fix off-by-one error in ippEnumString (Issue #5695)

4 years agoMirror Apple Raster fixes from master.
Michael R Sweet [Mon, 2 Dec 2019 15:37:31 +0000 (10:37 -0500)] 
Mirror Apple Raster fixes from master.

4 years agoChangelog.
Michael R Sweet [Mon, 18 Nov 2019 18:58:06 +0000 (13:58 -0500)] 
Changelog.

4 years agoRefactor the defaults code so that the correct order of precedence is respected in...
Michael R Sweet [Mon, 18 Nov 2019 18:57:19 +0000 (13:57 -0500)] 
Refactor the defaults code so that the correct order of precedence is respected in all cases (Issue #5683)

4 years agoAddress multiple minor issues reported by the LGTM security scanner:
Michael R Sweet [Sun, 17 Nov 2019 15:25:36 +0000 (10:25 -0500)] 
Address multiple minor issues reported by the LGTM security scanner:

- Lots of usage of localtime and gmtime (use _r/_s versions instead -
  Issue #5685)
- Some unnecessary comparisons
- Suppress checks that are not useful (header guards, short global names, and
  the integer overflow checks which don't reflect the actual range of values)

4 years agoFix lpoptions defaults (Issue #5681)
Michael R Sweet [Thu, 14 Nov 2019 19:21:39 +0000 (14:21 -0500)] 
Fix lpoptions defaults (Issue #5681)

4 years agoFix compiler warnings.
Michael R Sweet [Thu, 14 Nov 2019 19:21:13 +0000 (14:21 -0500)] 
Fix compiler warnings.

4 years agoFix compiler warnings from new clang - lots of enums being assigned to ints but
Michael R Sweet [Mon, 7 Oct 2019 19:12:22 +0000 (15:12 -0400)] 
Fix compiler warnings from new clang - lots of enums being assigned to ints but
the compiler deciding that was worthy of a warning (even though the range of
values clearly falls within the range of an int...)

4 years agoThe IPP backend did not detect all cases where a job should be retried using
Michael R Sweet [Mon, 7 Oct 2019 19:05:30 +0000 (15:05 -0400)] 
The IPP backend did not detect all cases where a job should be retried using
a raster format (rdar://56021091)

- Look for document-xxx reasons and client-error-document-xxx status codes from
  Send-Document and Print-Job requests.

4 years agoChange DEBUG message to ERROR for libusb_init issues (Issue #5658)
Michael R Sweet [Mon, 7 Oct 2019 17:15:23 +0000 (13:15 -0400)] 
Change DEBUG message to ERROR for libusb_init issues (Issue #5658)

4 years agoFix typos in comments.
Michael R Sweet [Thu, 5 Sep 2019 22:16:05 +0000 (18:16 -0400)] 
Fix typos in comments.

4 years agoAdd workaround for systemd's lack of true launch-on-demand support (Issue #5640)
Michael R Sweet [Thu, 5 Sep 2019 16:44:44 +0000 (12:44 -0400)] 
Add workaround for systemd's lack of true launch-on-demand support (Issue #5640)

4 years agoMirror TLS certificate fix from master for ippserver.
Michael R Sweet [Thu, 5 Sep 2019 16:35:53 +0000 (12:35 -0400)] 
Mirror TLS certificate fix from master for ippserver.

4 years agoBump version.
Michael R Sweet [Wed, 28 Aug 2019 02:27:40 +0000 (22:27 -0400)] 
Bump version.

4 years agoFix spelling of accordion.
Michael R Sweet [Wed, 28 Aug 2019 02:24:22 +0000 (22:24 -0400)] 
Fix spelling of accordion.

Bump version to 2.2.13.

4 years agoUpdate for CUPS 2.2.12 release. v2.2.12
Michael R Sweet [Thu, 15 Aug 2019 22:35:30 +0000 (18:35 -0400)] 
Update for CUPS 2.2.12 release.

4 years agoFix multiple security/disclosure issues:
Michael R Sweet [Thu, 15 Aug 2019 18:08:31 +0000 (14:08 -0400)] 
Fix multiple security/disclosure issues:

- CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251)
- Fixed IPP buffer overflow (rdar://50035411)
- Fixed memory disclosure issue in the scheduler (rdar://51373853)
- Fixed DoS issues in the scheduler (rdar://51373929)

4 years agoStop accepting attributes in collections (Issue #5630)
Michael R Sweet [Wed, 7 Aug 2019 17:02:32 +0000 (13:02 -0400)] 
Stop accepting attributes in collections (Issue #5630)

4 years agoFix man page typo...
Michael R Sweet [Tue, 6 Aug 2019 00:11:33 +0000 (20:11 -0400)] 
Fix man page typo...

4 years agoUSB quirk (Issue #5617)
Michael R Sweet [Thu, 1 Aug 2019 18:30:55 +0000 (14:30 -0400)] 
USB quirk (Issue #5617)

4 years agoChangelog
Michael R Sweet [Thu, 1 Aug 2019 18:26:19 +0000 (14:26 -0400)] 
Changelog

4 years agoGNU TLS FIPS140 support (Issue #5601, Issue #5622)
Michael R Sweet [Thu, 1 Aug 2019 18:25:35 +0000 (14:25 -0400)] 
GNU TLS FIPS140 support (Issue #5601, Issue #5622)

4 years agoFix some PPD parser issues discovered via fuzzing (Issue #5623, Issue #5624)
Michael R Sweet [Thu, 1 Aug 2019 18:00:03 +0000 (14:00 -0400)] 
Fix some PPD parser issues discovered via fuzzing (Issue #5623, Issue #5624)

4 years agoFix memory leak in ppdOpen.
Michael R Sweet [Thu, 1 Aug 2019 17:02:35 +0000 (13:02 -0400)] 
Fix memory leak in ppdOpen.

4 years agoDon't default printer-info, printer-location, printer-geo-location (Issue #5603)
Michael R Sweet [Tue, 16 Jul 2019 14:43:58 +0000 (10:43 -0400)] 
Don't default printer-info, printer-location, printer-geo-location (Issue #5603)

4 years agoFix lpadmin with cupsIPPSupplies and cupsSNMPSupplies (Issue #5610)
Michael R Sweet [Tue, 16 Jul 2019 13:27:32 +0000 (09:27 -0400)] 
Fix lpadmin with cupsIPPSupplies and cupsSNMPSupplies (Issue #5610)

4 years agoAlways check the group membership list (Issue #5613)
Michael R Sweet [Tue, 16 Jul 2019 13:17:04 +0000 (09:17 -0400)] 
Always check the group membership list (Issue #5613)

4 years agoThe scheduler would restart continuously when idle and printers were not
Michael R Sweet [Tue, 16 Jul 2019 13:07:56 +0000 (09:07 -0400)] 
The scheduler would restart continuously when idle and printers were not
shared (rdar://52561199)

4 years agoUse GZIPPROG instead of GZIP to avoid install issues (Issue #5595)
Michael R Sweet [Wed, 12 Jun 2019 12:37:06 +0000 (08:37 -0400)] 
Use GZIPPROG instead of GZIP to avoid install issues (Issue #5595)

4 years agoMirror bug fix from master (Issue #5588)
Michael R Sweet [Thu, 30 May 2019 14:22:51 +0000 (10:22 -0400)] 
Mirror bug fix from master (Issue #5588)

4 years agoBack-port more compatibility fixes from CUPS 2.3.x - IPP/1.1 compatibility with
Michael R Sweet [Tue, 28 May 2019 18:54:01 +0000 (14:54 -0400)] 
Back-port more compatibility fixes from CUPS 2.3.x - IPP/1.1 compatibility with
old versions of CUPS... (Issue #5587)

4 years agoPut IDR command in its own XA/XZ section.
Michael R Sweet [Fri, 24 May 2019 13:25:35 +0000 (09:25 -0400)] 
Put IDR command in its own XA/XZ section.

4 years agoMirror ZPL fix from master.
Michael R Sweet [Fri, 24 May 2019 12:15:14 +0000 (08:15 -0400)] 
Mirror ZPL fix from master.

4 years agoEnforce USB read limits (Issue #5583)
Michael R Sweet [Fri, 17 May 2019 11:53:42 +0000 (07:53 -0400)] 
Enforce USB read limits (Issue #5583)

4 years agoBlock cups-files.conf directives (Issue #5530)
Michael R Sweet [Wed, 15 May 2019 14:31:24 +0000 (10:31 -0400)] 
Block cups-files.conf directives (Issue #5530)

4 years agoUpdate copyrights.
Michael R Sweet [Wed, 8 May 2019 15:36:01 +0000 (11:36 -0400)] 
Update copyrights.

4 years agoFix CSS on short browsers (Issue #5574)
Michael R Sweet [Wed, 8 May 2019 15:32:27 +0000 (11:32 -0400)] 
Fix CSS on short browsers (Issue #5574)

4 years agoBump the default Timeout to 15 minutes as well (Issue #5570)
Michael R Sweet [Thu, 2 May 2019 13:03:47 +0000 (09:03 -0400)] 
Bump the default Timeout to 15 minutes as well (Issue #5570)

4 years agoMirror changes from master.
Michael R Sweet [Wed, 1 May 2019 20:02:34 +0000 (16:02 -0400)] 
Mirror changes from master.

4 years agoUpdate the hold expiration logging - one case is an error, the other is normal (Issue...
Michael R Sweet [Wed, 1 May 2019 18:58:28 +0000 (14:58 -0400)] 
Update the hold expiration logging - one case is an error, the other is normal (Issue #5570)

4 years agoIncrease the MultipleOperationTimeOut default to 15 minutes, log an error if
Michael R Sweet [Wed, 1 May 2019 18:39:52 +0000 (14:39 -0400)] 
Increase the MultipleOperationTimeOut default to 15 minutes, log an error if
the job submission times out (Issue #5570)

5 years agoAdd a workaround for old Samsung drivers (Issue #5562)
Michael R Sweet [Mon, 15 Apr 2019 20:50:24 +0000 (16:50 -0400)] 
Add a workaround for old Samsung drivers (Issue #5562)

5 years agoFor octetString values, compare the length against the -supported value
Michael R Sweet [Mon, 15 Apr 2019 20:28:06 +0000 (16:28 -0400)] 
For octetString values, compare the length against the -supported value
(Issue #5557)

5 years agoUpdate systemd service file for cupsd (Issue #5551)
Michael R Sweet [Mon, 15 Apr 2019 20:16:04 +0000 (16:16 -0400)] 
Update systemd service file for cupsd (Issue #5551)

5 years agoBump version.
Michael R Sweet [Mon, 15 Apr 2019 20:06:35 +0000 (16:06 -0400)] 
Bump version.

5 years agoCorrectly encode octetString values for print filters (Issue #5558)
Michael R Sweet [Mon, 15 Apr 2019 20:04:28 +0000 (16:04 -0400)] 
Correctly encode octetString values for print filters (Issue #5558)

scheduler/job.c:
- get_options(): Correctly encode IPP_TAG_STRING as a quoted string or a hex
  string depending on the value.
- ipp_length(): Handle IPP_TAG_STRING separately.

5 years agoFix changelog (Issue #5561)
Michael R Sweet [Mon, 15 Apr 2019 13:24:53 +0000 (09:24 -0400)] 
Fix changelog (Issue #5561)

5 years agoPrep for 2.2.11 release. v2.2.11
Michael R Sweet [Fri, 22 Mar 2019 19:51:36 +0000 (15:51 -0400)] 
Prep for 2.2.11 release.

5 years agoFix an issue with and time values (Issue #5538)
Michael R Sweet [Mon, 11 Mar 2019 17:54:46 +0000 (13:54 -0400)] 
Fix an issue with  and time values (Issue #5538)

5 years agoMirror test suite changes from master.
Michael R Sweet [Mon, 11 Mar 2019 16:06:05 +0000 (12:06 -0400)] 
Mirror test suite changes from master.

5 years agoFix PPD caching and IPP Everywhere PPDs (Issue #5535)
Michael R Sweet [Wed, 27 Feb 2019 20:34:37 +0000 (15:34 -0500)] 
Fix PPD caching and IPP Everywhere PPDs (Issue #5535)

5 years agoFix another compiler warning.
Michael R Sweet [Mon, 25 Feb 2019 20:12:29 +0000 (15:12 -0500)] 
Fix another compiler warning.

5 years agoUse iterator for CRL (Issue #5532)
Michael R Sweet [Mon, 25 Feb 2019 20:09:04 +0000 (15:09 -0500)] 
Use iterator for CRL (Issue #5532)

5 years agoFix compiler warning from newer GCC (Issue #5533)
Michael R Sweet [Mon, 25 Feb 2019 16:58:34 +0000 (11:58 -0500)] 
Fix compiler warning from newer GCC (Issue #5533)

5 years agoMedia size matching now uses a tolerance of 0.5mm (rdar://33822024)
Michael R Sweet [Thu, 21 Feb 2019 17:46:09 +0000 (12:46 -0500)] 
Media size matching now uses a tolerance of 0.5mm (rdar://33822024)

5 years agoFix typo.
Michael R Sweet [Thu, 21 Feb 2019 17:35:04 +0000 (12:35 -0500)] 
Fix typo.

5 years agoRework the idle exit fix after some discussion.
Michael R Sweet [Thu, 21 Feb 2019 17:31:38 +0000 (12:31 -0500)] 
Rework the idle exit fix after some discussion.

5 years agoThe lpadmin command would hang with a bad PPD file (rdar://41495016)
Michael R Sweet [Thu, 21 Feb 2019 16:14:12 +0000 (11:14 -0500)] 
The lpadmin command would hang with a bad PPD file (rdar://41495016)

5 years agoThe scheduler did not always idle exit as quickly as it could...
Michael R Sweet [Thu, 21 Feb 2019 16:04:14 +0000 (11:04 -0500)] 
The scheduler did not always idle exit as quickly as it could...

5 years agoDon't stop a printer after a job is canceled/aborted (Issue #5517)
Michael R Sweet [Thu, 21 Feb 2019 15:44:23 +0000 (10:44 -0500)] 
Don't stop a printer after a job is canceled/aborted (Issue #5517)

5 years agoAdd a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
Michael R Sweet [Thu, 21 Feb 2019 14:54:59 +0000 (09:54 -0500)] 
Add a USB quirks rule for the DYMO 450 Turbo (Issue #5521)

5 years agoAdd subject alternate names for self-signed certificates (Issue #5525)
Michael R Sweet [Tue, 19 Feb 2019 20:04:49 +0000 (15:04 -0500)] 
Add subject alternate names for self-signed certificates (Issue #5525)

5 years agoAdd USB quirks rule for Xerox printers (Issue #5523)
Michael R Sweet [Tue, 19 Feb 2019 16:11:54 +0000 (11:11 -0500)] 
Add USB quirks rule for Xerox printers (Issue #5523)

5 years agoNon-Kerberized IPP printing to Windows was broken (Issue #5515)
Michael R Sweet [Fri, 15 Feb 2019 22:07:10 +0000 (17:07 -0500)] 
Non-Kerberized IPP printing to Windows was broken (Issue #5515)

5 years agoMissing printer-uri when enabling printer (mirror fix from master).
Michael R Sweet [Fri, 15 Feb 2019 22:04:53 +0000 (17:04 -0500)] 
Missing printer-uri when enabling printer (mirror fix from master).

5 years agoFix a GNU TLS certificate problem (Issue #5506)
Michael R Sweet [Tue, 5 Feb 2019 18:04:13 +0000 (13:04 -0500)] 
Fix a GNU TLS certificate problem (Issue #5506)

5 years agoFix UTF-8 validation (Issue #5509)
Michael R Sweet [Tue, 5 Feb 2019 17:03:10 +0000 (12:03 -0500)] 
Fix UTF-8 validation (Issue #5509)

5 years agoUpdated the USB quirks rule for Zebra label printers (Issue #5395)
Michael R Sweet [Wed, 23 Jan 2019 16:15:29 +0000 (11:15 -0500)] 
Updated the USB quirks rule for Zebra label printers (Issue #5395)

Now all Zebra label printers use unidir and no-reattach.

5 years agoClean out some more _cupsStr cruft that might potentially cause an unaligned memory...
Michael R Sweet [Mon, 21 Jan 2019 21:08:16 +0000 (16:08 -0500)] 
Clean out some more _cupsStr cruft that might potentially cause an unaligned memory access (Issue #5474)

Don't directly use the string pool in the CGI programs or scheduler.

5 years agoFix potential unaligned accesses in the string pool (Issue #5474)
Michael R Sweet [Mon, 21 Jan 2019 19:21:57 +0000 (14:21 -0500)] 
Fix potential unaligned accesses in the string pool (Issue #5474)

This set of changes makes the PPD functions use strdup and free - they were
modifying the contents of the string in places and doing other things that
were not safe for (immutable) strings in the pool.

5 years agoStop parsing the Emulators keywords in PPD files (Issue #5475)
Michael R Sweet [Mon, 21 Jan 2019 18:44:43 +0000 (13:44 -0500)] 
Stop parsing the Emulators keywords in PPD files (Issue #5475)

This also addresses a potential memory leak...

5 years agoSwitch to using "all" and "media-col-database" because some vendors apparently
Michael R Sweet [Mon, 21 Jan 2019 17:02:19 +0000 (12:02 -0500)] 
Switch to using "all" and "media-col-database" because some vendors apparently
do not know how to read (Issue #5484)

5 years agoFix compile error on Linux (Issue #5483)
Michael R Sweet [Mon, 21 Jan 2019 16:54:58 +0000 (11:54 -0500)] 
Fix compile error on Linux (Issue #5483)

5 years agoAdd a USB quirk rule for the Lexmark E120n (Issue #5478)
Michael R Sweet [Mon, 21 Jan 2019 16:32:42 +0000 (11:32 -0500)] 
Add a USB quirk rule for the Lexmark E120n (Issue #5478)

5 years agoUse the same requested-attributes values for all IPP Everywhere setup
Michael R Sweet [Mon, 21 Jan 2019 16:28:24 +0000 (11:28 -0500)] 
Use the same requested-attributes values for all IPP Everywhere setup
requests (Issue #5484)

5 years agoFix a performance regression with large PPDs (rdar://47040759)
Michael R Sweet [Thu, 10 Jan 2019 22:15:47 +0000 (17:15 -0500)] 
Fix a performance regression with large PPDs (rdar://47040759)

Changes mirrored from master...

5 years agoAllow ippSetXxx from no-value and unknown to corresponding type.
Michael R Sweet [Thu, 10 Jan 2019 16:54:15 +0000 (11:54 -0500)] 
Allow ippSetXxx from no-value and unknown to corresponding type.

5 years agoProtect against continuing to read from a file at EOF (Issue #5473)
Michael R Sweet [Wed, 9 Jan 2019 18:26:37 +0000 (13:26 -0500)] 
Protect against continuing to read from a file at EOF (Issue #5473)

5 years agoFix potential crash in cups-driverd (rdar://46625579)
Michael R Sweet [Fri, 14 Dec 2018 19:29:57 +0000 (14:29 -0500)] 
Fix potential crash in cups-driverd (rdar://46625579)

5 years agoBump version.
Michael R Sweet [Mon, 10 Dec 2018 14:21:03 +0000 (09:21 -0500)] 
Bump version.

5 years agoFix ppdmerge backup filename (Issue #5455)
Michael R Sweet [Mon, 10 Dec 2018 14:19:57 +0000 (09:19 -0500)] 
Fix ppdmerge backup filename (Issue #5455)

5 years agoBump version. v2.2.10
Michael R Sweet [Fri, 7 Dec 2018 19:41:56 +0000 (14:41 -0500)] 
Bump version.

5 years agoCVE-2018-4700: Linux session cookies used a predictable random number seed.
Michael R Sweet [Fri, 7 Dec 2018 17:09:00 +0000 (12:09 -0500)] 
CVE-2018-4700: Linux session cookies used a predictable random number seed.

5 years agolpoptions now works with discovered but un-added printers (Issue #5045)
Michael R Sweet [Thu, 6 Dec 2018 16:24:49 +0000 (11:24 -0500)] 
lpoptions now works with discovered but un-added printers (Issue #5045)

5 years agoFix -E option (Issue #5440)
Michael R Sweet [Wed, 5 Dec 2018 18:02:09 +0000 (13:02 -0500)] 
Fix -E option (Issue #5440)

5 years agoFix handling of MaxJobTime 0 (Issue #5438)
Michael R Sweet [Wed, 5 Dec 2018 17:18:19 +0000 (12:18 -0500)] 
Fix handling of MaxJobTime 0 (Issue #5438)

5 years agoAdd USB quirk rule for Zebra ZD420 (Issue #5395)
Michael R Sweet [Fri, 30 Nov 2018 18:05:12 +0000 (13:05 -0500)] 
Add USB quirk rule for Zebra ZD420 (Issue #5395)

5 years agoAdd USB quirk rule for Star printer (Issue #5443)
Michael R Sweet [Tue, 27 Nov 2018 03:39:07 +0000 (22:39 -0500)] 
Add USB quirk rule for Star printer (Issue #5443)

5 years agoFix a crash bug when mapping PPD duplex options to IPP attributes (rdar://46183976)
Michael R Sweet [Tue, 27 Nov 2018 03:28:33 +0000 (22:28 -0500)] 
Fix a crash bug when mapping PPD duplex options to IPP attributes (rdar://46183976)

5 years agoBack-port accounting changes from CUPS 2.3 (Issue #5439)
Michael R Sweet [Fri, 16 Nov 2018 21:05:40 +0000 (16:05 -0500)] 
Back-port accounting changes from CUPS 2.3 (Issue #5439)

5 years agoUpdate default compiler options for GCC 8.x.
Michael R Sweet [Fri, 16 Nov 2018 20:59:01 +0000 (15:59 -0500)] 
Update default compiler options for GCC 8.x.

5 years agoFix compile error.
Michael R Sweet [Wed, 14 Nov 2018 15:17:56 +0000 (10:17 -0500)] 
Fix compile error.

5 years agoAdd cupsManualCopies as needed (Issue #5433)
Michael R Sweet [Wed, 14 Nov 2018 15:15:54 +0000 (10:15 -0500)] 
Add cupsManualCopies as needed (Issue #5433)

5 years agoFix Kerberos truncation (Issue #5435)
Michael R Sweet [Wed, 14 Nov 2018 15:15:29 +0000 (10:15 -0500)] 
Fix Kerberos truncation (Issue #5435)

5 years agoFix potential truncation of Kerberos credentials (Issue #5435)
Michael R Sweet [Wed, 14 Nov 2018 14:10:54 +0000 (09:10 -0500)] 
Fix potential truncation of Kerberos credentials (Issue #5435)

5 years agoBump version to 2.2.10.
Michael R Sweet [Wed, 14 Nov 2018 14:10:43 +0000 (09:10 -0500)] 
Bump version to 2.2.10.