]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoTry local kerberos ccache credentials only for remote servers
Samuel Cabrero [Tue, 27 Oct 2020 15:23:30 +0000 (16:23 +0100)] 
Try local kerberos ccache credentials only for remote servers

If connecting to localhost then proceed to ask the client for the
authorization using cupsGetPassword2. The get password callback will
return 401 to the client with WWW-Authenticate: Negotiate.

Fixes: #5596
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
4 years agoAdd cups_is_local_connection() to check if connection is to localhost
Samuel Cabrero [Tue, 27 Oct 2020 15:11:41 +0000 (16:11 +0100)] 
Add cups_is_local_connection() to check if connection is to localhost

Related: #5596

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
4 years agoAvoid infinite loop in admin.cgi when negotiate is used
Samuel Cabrero [Mon, 26 Oct 2020 16:35:22 +0000 (17:35 +0100)] 
Avoid infinite loop in admin.cgi when negotiate is used

SetAuthorizationString with NULL argument sets an empty string.

Related: #5596

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
5 years agoUpdate version to 2.3.3 for: v2.3.3
steve algernon [Fri, 24 Apr 2020 20:37:30 +0000 (13:37 -0700)] 
Update version to 2.3.3 for:

CVE-2020-3898 - cups/ppd.c, ppdc/ppdc-source.cxx
CVE-2019-8842 - cups/ipp.c: ippReadIO

And build issues due to warnings.

5 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 01:19:20 +0000 (20:19 -0500)] 
Update more IPP strings.

5 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 01:01:36 +0000 (20:01 -0500)] 
Update more IPP strings.

5 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 00:53:45 +0000 (19:53 -0500)] 
Update more IPP strings.

5 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 00:47:31 +0000 (19:47 -0500)] 
Update more IPP strings.

5 years agoBump version.
Michael R Sweet [Wed, 18 Dec 2019 23:06:01 +0000 (18:06 -0500)] 
Bump version.

5 years agoUpdate localization files.
Michael R Sweet [Wed, 18 Dec 2019 23:05:19 +0000 (18:05 -0500)] 
Update localization files.

5 years agoAdd build/test script.
Michael R Sweet [Wed, 18 Dec 2019 22:02:42 +0000 (17:02 -0500)] 
Add build/test script.

5 years agoBump versions. v2.3.1
Michael R Sweet [Fri, 13 Dec 2019 14:44:10 +0000 (09:44 -0500)] 
Bump versions.

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

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

5 years agoChangelog.
Michael R Sweet [Wed, 4 Dec 2019 18:44:15 +0000 (13:44 -0500)] 
Changelog.

5 years agoMerge pull request #5695 from IslandCow/vendor_finishings
Michael R Sweet [Wed, 4 Dec 2019 18:43:28 +0000 (13:43 -0500)] 
Merge pull request #5695 from IslandCow/vendor_finishings

Off by one error in ipp_finishings_vendor

5 years agoOff by one error in ipp_finishings_vendor
Sean Kau [Wed, 4 Dec 2019 18:19:18 +0000 (10:19 -0800)] 
Off by one error in ipp_finishings_vendor

When enumvalue is 101 and attrname is "finsishings-supported"
we were getting the memory after ipp_finishings_vendor
in the ipp_job_collation_types array.

5 years agoChangelog.
Michael R Sweet [Wed, 4 Dec 2019 17:00:14 +0000 (12:00 -0500)] 
Changelog.

5 years agoMerge pull request #5694 from gaaf/patch-1
Michael R Sweet [Wed, 4 Dec 2019 16:49:25 +0000 (11:49 -0500)] 
Merge pull request #5694 from gaaf/patch-1

Fix error in jobs template

5 years agoUpdate default PAM service (cups instead of other)
Michael R Sweet [Tue, 3 Dec 2019 02:27:47 +0000 (21:27 -0500)] 
Update default PAM service (cups instead of other)

5 years agoClean up authentication support.
Michael R Sweet [Tue, 3 Dec 2019 02:26:04 +0000 (21:26 -0500)] 
Clean up authentication support.

5 years agoAlso authenticate web IF.
Michael R Sweet [Mon, 2 Dec 2019 21:47:22 +0000 (16:47 -0500)] 
Also authenticate web IF.

5 years agoUpdate HTML version of man page.
Michael R Sweet [Mon, 2 Dec 2019 21:40:48 +0000 (16:40 -0500)] 
Update HTML version of man page.

5 years agoLimit DNS-SD advertisements to the loopback interface for "localhost" and
Michael R Sweet [Mon, 2 Dec 2019 21:39:48 +0000 (16:39 -0500)] 
Limit DNS-SD advertisements to the loopback interface for "localhost" and
support "off" for subtypes to turn off advertisements (Issue #5666)

5 years agoAdd authentication support to ippeveprinter (Issue #5665)
Michael R Sweet [Mon, 2 Dec 2019 21:24:39 +0000 (16:24 -0500)] 
Add authentication support to ippeveprinter (Issue #5665)

5 years agoFix compiler warnings.
Michael R Sweet [Mon, 2 Dec 2019 19:29:18 +0000 (14:29 -0500)] 
Fix compiler warnings.

5 years agoUse pwgMediaForSize when looking up PPD sizes (Issue #5633)
Michael R Sweet [Mon, 2 Dec 2019 19:28:09 +0000 (14:28 -0500)] 
Use pwgMediaForSize when looking up PPD sizes (Issue #5633)

5 years agoChangelog.
Michael R Sweet [Mon, 2 Dec 2019 15:37:50 +0000 (10:37 -0500)] 
Changelog.

5 years agoFix a few issues with Apple Raster support (rdar://55301114)
Michael R Sweet [Mon, 2 Dec 2019 15:19:36 +0000 (10:19 -0500)] 
Fix a few issues with Apple Raster support (rdar://55301114)

5 years agoFix error in jobs template
Alex Hermann [Thu, 28 Nov 2019 15:59:20 +0000 (16:59 +0100)] 
Fix error in jobs template

Fixes error:

E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \':\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!

5 years agoAlways send roll select command.
Michael R Sweet [Wed, 27 Nov 2019 17:23:48 +0000 (12:23 -0500)] 
Always send roll select command.

5 years agoAdd support for the second roll in DYMO Twin/DUO label printers.
Michael R Sweet [Wed, 27 Nov 2019 17:15:51 +0000 (12:15 -0500)] 
Add support for the second roll in DYMO Twin/DUO label printers.

5 years agoLGTM only supports C++ style comments...
Michael R Sweet [Tue, 19 Nov 2019 16:19:24 +0000 (11:19 -0500)] 
LGTM only supports C++ style comments...

5 years agoFix name of LGTM config file.
Michael R Sweet [Tue, 19 Nov 2019 15:53:08 +0000 (10:53 -0500)] 
Fix name of LGTM config file.

5 years agoDon't wait for held jobs to complete.
Michael R Sweet [Mon, 18 Nov 2019 20:39:32 +0000 (15:39 -0500)] 
Don't wait for held jobs to complete.

5 years agoChangelog
Michael R Sweet [Mon, 18 Nov 2019 18:21:45 +0000 (13:21 -0500)] 
Changelog

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

5 years agoFix up HOME environment variable support on macOS - only exclude containers.
Michael R Sweet [Mon, 18 Nov 2019 18:10:09 +0000 (13:10 -0500)] 
Fix up HOME environment variable support on macOS - only exclude containers.

5 years agoAddress multiple minor issues reported by the LGTM security scanner:
Michael R Sweet [Sun, 17 Nov 2019 15:18:09 +0000 (10:18 -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)

5 years agoRemove debug fprintf that was accidentally left in...
Michael R Sweet [Mon, 18 Nov 2019 16:12:02 +0000 (11:12 -0500)] 
Remove debug fprintf that was accidentally left in...

5 years agoMore LGTM changes.
Michael R Sweet [Mon, 18 Nov 2019 16:03:28 +0000 (11:03 -0500)] 
More LGTM changes.

5 years agoDon't generate certificates that expire on Feb 29th (Issue #5643)
Michael R Sweet [Thu, 14 Nov 2019 20:34:34 +0000 (15:34 -0500)] 
Don't generate certificates that expire on Feb 29th (Issue #5643)

5 years agoSandboxed applications were not able to get the default printer (Issue #5676)
Michael R Sweet [Thu, 14 Nov 2019 20:30:00 +0000 (15:30 -0500)] 
Sandboxed applications were not able to get the default printer (Issue #5676)

- Add "home" global pointing to the user's home directory.
- Use it instead of getenv("HOME") everywhere we needed it.

5 years agoFix lpoptions defaults (Issue #5681)
Michael R Sweet [Thu, 14 Nov 2019 18:00:12 +0000 (13:00 -0500)] 
Fix lpoptions defaults (Issue #5681)

5 years agoFix example source filename in CUPS PM (Issue #5682)
Michael R Sweet [Thu, 14 Nov 2019 15:26:13 +0000 (10:26 -0500)] 
Fix example source filename in CUPS PM (Issue #5682)

5 years agoChangelog.
Michael R Sweet [Thu, 7 Nov 2019 14:06:02 +0000 (09:06 -0500)] 
Changelog.

5 years agoMerge pull request #5677 from reddevillg/patch-2
Michael R Sweet [Thu, 7 Nov 2019 14:04:17 +0000 (09:04 -0500)] 
Merge pull request #5677 from reddevillg/patch-2

Fix /admin/log section

5 years agoUpdate adminutil.c
reddevillg [Thu, 7 Nov 2019 12:05:02 +0000 (20:05 +0800)] 
Update adminutil.c

fix /admin/log section

5 years agoUpdate documentation of auth-info-required values (Issue #5674)
Michael R Sweet [Thu, 31 Oct 2019 15:33:55 +0000 (11:33 -0400)] 
Update documentation of auth-info-required values (Issue #5674)

5 years agoSupport trim finishing options.
Michael R Sweet [Thu, 24 Oct 2019 19:00:15 +0000 (15:00 -0400)] 
Support trim finishing options.

5 years agoAnother fix for DBUSDIR (Issue #5671)
Michael R Sweet [Mon, 21 Oct 2019 15:12:11 +0000 (11:12 -0400)] 
Another fix for DBUSDIR (Issue #5671)

5 years agoFix --with-dbusdir (Issue #5671)
Michael R Sweet [Mon, 21 Oct 2019 14:55:57 +0000 (10:55 -0400)] 
Fix --with-dbusdir (Issue #5671)

5 years agoChangelog.
Michael R Sweet [Thu, 17 Oct 2019 14:15:06 +0000 (10:15 -0400)] 
Changelog.

5 years agoUpdate finishings support to use standard (or standard-inspired) PPD option
Michael R Sweet [Thu, 17 Oct 2019 14:13:34 +0000 (10:13 -0400)] 
Update finishings support to use standard (or standard-inspired) PPD option
keywords, and include all finishing templates (except "none").

5 years agoAdd support for DigestOptions directive in client.conf (Issue #5647)
Michael R Sweet [Tue, 15 Oct 2019 21:34:21 +0000 (17:34 -0400)] 
Add support for DigestOptions directive in client.conf (Issue #5647)

5 years agoChangelog
Michael R Sweet [Tue, 15 Oct 2019 21:08:05 +0000 (17:08 -0400)] 
Changelog

5 years agoMerge pull request #5621 from zdohnal/cgigetarray-sigsegv
Michael R Sweet [Tue, 15 Oct 2019 21:06:53 +0000 (17:06 -0400)] 
Merge pull request #5621 from zdohnal/cgigetarray-sigsegv

SIGSEGV in CUPS web ui when adding a printer

5 years agoPPD files containing custom option keywords did not work (Issue #5639)
Michael R Sweet [Tue, 15 Oct 2019 21:05:55 +0000 (17:05 -0400)] 
PPD files containing custom option keywords did not work (Issue #5639)

5 years agoAdd paint can label size (Issue #5662)
Michael R Sweet [Tue, 15 Oct 2019 20:58:24 +0000 (16:58 -0400)] 
Add paint can label size (Issue #5662)

5 years agoNormalize lp/lpr help text.
Michael R Sweet [Tue, 15 Oct 2019 20:54:45 +0000 (16:54 -0400)] 
Normalize lp/lpr help text.

5 years agoAdd missing "-d" help string (Issue #5661)
Michael R Sweet [Tue, 15 Oct 2019 20:51:07 +0000 (16:51 -0400)] 
Add missing "-d" help string (Issue #5661)

5 years agoFix typos (Issue #5657)
Michael R Sweet [Tue, 8 Oct 2019 00:01:47 +0000 (20:01 -0400)] 
Fix typos (Issue #5657)

5 years agoThe IPP backend did not detect all cases where a job should be retried using
Michael R Sweet [Mon, 7 Oct 2019 19:03:54 +0000 (15:03 -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 reason keywords and client-error-document-xxx status
  codes after a Send-Document or Print-Job request.

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

5 years agoMore compiler warnings.
Michael R Sweet [Wed, 2 Oct 2019 19:50:21 +0000 (15:50 -0400)] 
More compiler warnings.

5 years agoAdd missing file.
Michael R Sweet [Wed, 2 Oct 2019 19:44:30 +0000 (15:44 -0400)] 
Add missing file.

5 years agoResolve new compiler warnings.
Michael R Sweet [Wed, 2 Oct 2019 19:37:50 +0000 (15:37 -0400)] 
Resolve new compiler warnings.

5 years agoAdd threading unit test program (Issue #5642)
Michael R Sweet [Wed, 2 Oct 2019 19:31:00 +0000 (15:31 -0400)] 
Add threading unit test program (Issue #5642)

5 years agoFix handling of printer resource files (Issue #5652)
Michael R Sweet [Wed, 2 Oct 2019 18:06:02 +0000 (14:06 -0400)] 
Fix handling of printer resource files (Issue #5652)

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

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

5 years agoFix the default common name used by ippeveprinter...
Michael R Sweet [Thu, 5 Sep 2019 16:33:42 +0000 (12:33 -0400)] 
Fix the default common name used by ippeveprinter...

5 years agoUse legacy MD5 implementation with GNU TLS since at least some Linux vendors are
Michael R Sweet [Tue, 3 Sep 2019 14:34:51 +0000 (10:34 -0400)] 
Use legacy MD5 implementation with GNU TLS since at least some Linux vendors are
disabling MD5 without allowing applications to detect it.

5 years agoRevert GNU TLS FIPS-140 changes.
Michael R Sweet [Tue, 3 Sep 2019 14:29:07 +0000 (10:29 -0400)] 
Revert GNU TLS FIPS-140 changes.

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

Bump version.

5 years agoChangelog v2.3.0
Michael R Sweet [Fri, 23 Aug 2019 15:19:38 +0000 (11:19 -0400)] 
Changelog

5 years agoMerge pull request #5638 from nicolasfella/wheel
Michael R Sweet [Fri, 23 Aug 2019 15:18:13 +0000 (11:18 -0400)] 
Merge pull request #5638 from nicolasfella/wheel

Add wheel to system groups

5 years agoClean up versioning and API documentation.
Michael R Sweet [Fri, 23 Aug 2019 15:16:26 +0000 (11:16 -0400)] 
Clean up versioning and API documentation.

5 years agoUpdate base localzation files.
Michael R Sweet [Fri, 23 Aug 2019 13:40:06 +0000 (09:40 -0400)] 
Update base localzation files.

5 years agoAdd wheel to system groups
Nicolas Fella [Fri, 23 Aug 2019 12:43:19 +0000 (14:43 +0200)] 
Add wheel to system groups

5 years agoUpdate API documentation.
Michael R Sweet [Fri, 23 Aug 2019 12:32:10 +0000 (08:32 -0400)] 
Update API documentation.

5 years agoChangelog
Michael R Sweet [Fri, 23 Aug 2019 12:30:53 +0000 (08:30 -0400)] 
Changelog

5 years agoMerge pull request #5637 from polluks/patch-1
Michael R Sweet [Fri, 23 Aug 2019 12:26:05 +0000 (08:26 -0400)] 
Merge pull request #5637 from polluks/patch-1

Fixed typos

5 years agoFixed typos
Stefan [Wed, 21 Aug 2019 20:41:36 +0000 (22:41 +0200)] 
Fixed typos

5 years agoFix links.:
Michael R Sweet [Wed, 21 Aug 2019 12:24:23 +0000 (08:24 -0400)] 
Fix links.:

5 years agoUpdate top-level documentation files in preparation for the 2.3.0 release.
Michael R Sweet [Wed, 21 Aug 2019 12:22:43 +0000 (08:22 -0400)] 
Update top-level documentation files in preparation for the 2.3.0 release.

5 years agoAlso update HTML version of license.
Michael R Sweet [Tue, 20 Aug 2019 20:03:23 +0000 (16:03 -0400)] 
Also update HTML version of license.

5 years agoAdd GPL2/LGPL2 exception to the new CUPS license.
Michael R Sweet [Tue, 20 Aug 2019 19:45:12 +0000 (15:45 -0400)] 
Add GPL2/LGPL2 exception to the new CUPS license.

5 years agoFix trailing whitespace.
Michael R Sweet [Fri, 16 Aug 2019 19:48:34 +0000 (15:48 -0400)] 
Fix trailing whitespace.

5 years agoFix a USB printing issue on macOS (rdar://31433931)
Michael R Sweet [Fri, 16 Aug 2019 19:41:00 +0000 (15:41 -0400)] 
Fix a USB printing issue on macOS (rdar://31433931)

6 years agoMultiple security/disclosure issues:
Michael R Sweet [Thu, 15 Aug 2019 18:06:47 +0000 (14:06 -0400)] 
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)

6 years agoFix typo in ipptoolfile man page.
Michael R Sweet [Thu, 15 Aug 2019 17:40:12 +0000 (13:40 -0400)] 
Fix typo in ipptoolfile man page.

6 years agoFix whitespace
Michael R Sweet [Wed, 7 Aug 2019 17:02:49 +0000 (13:02 -0400)] 
Fix whitespace

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

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

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

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

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

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

6 years agoFix some PPD parser issues discovered via fuzzing (Issue #5623, Issue #5624)
Michael R Sweet [Thu, 1 Aug 2019 17:56:29 +0000 (13:56 -0400)] 
Fix some PPD parser issues discovered via fuzzing (Issue #5623, Issue #5624)