]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
5 days agoMerge pull request #1459 from weblate/weblate-cups-cups master
Michael R Sweet [Sat, 20 Dec 2025 00:24:02 +0000 (19:24 -0500)] 
Merge pull request #1459 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 days agoTranslated using Weblate (Russian) 1459/head
Алексей Корн [Thu, 18 Dec 2025 20:54:44 +0000 (21:54 +0100)] 
Translated using Weblate (Russian)

Currently translated at 29.7% (1241 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ru/

6 days agoUpdate autoconf cross-compilation files.
Michael R Sweet [Fri, 19 Dec 2025 18:37:13 +0000 (13:37 -0500)] 
Update autoconf cross-compilation files.

7 days agoFix typo when exporting control chars.
Michael R Sweet [Wed, 17 Dec 2025 23:10:12 +0000 (18:10 -0500)] 
Fix typo when exporting control chars.

9 days agoBring back PPD file loader for attributes to ippeveprinter.
Michael R Sweet [Tue, 16 Dec 2025 18:03:51 +0000 (13:03 -0500)] 
Bring back PPD file loader for attributes to ippeveprinter.

9 days agoSynchronize changes with CUPS 3.0.
Michael R Sweet [Tue, 16 Dec 2025 17:51:50 +0000 (12:51 -0500)] 
Synchronize changes with CUPS 3.0.

10 days agoHold jobs using job-password for 15 seconds (Issue #1456)
Michael R Sweet [Mon, 15 Dec 2025 17:29:43 +0000 (12:29 -0500)] 
Hold jobs using job-password for 15 seconds (Issue #1456)

13 days agoMerge pull request #1454 from zdohnal/osh-fixes-post-cve
zdohnal [Fri, 12 Dec 2025 06:20:53 +0000 (07:20 +0100)] 
Merge pull request #1454 from zdohnal/osh-fixes-post-cve

scheduler: Fix possible use_after_free in `cupsdReadClient()`

2 weeks agoMerge pull request #1455 from weblate/weblate-cups-cups
Michael R Sweet [Thu, 11 Dec 2025 22:46:10 +0000 (17:46 -0500)] 
Merge pull request #1455 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 weeks agoTranslated using Weblate (Romanian) 1455/head
Remus-Gabriel Chelu [Wed, 10 Dec 2025 18:36:40 +0000 (19:36 +0100)] 
Translated using Weblate (Romanian)

Currently translated at 76.0% (3174 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/

2 weeks agoFix speling (Issue #1452)
Michael R Sweet [Thu, 11 Dec 2025 16:32:57 +0000 (11:32 -0500)] 
Fix speling (Issue #1452)

2 weeks agoscheduler: Fix possible use_after_free in `cupsdReadClient()` 1454/head
Zdenek Dohnal [Thu, 11 Dec 2025 14:12:55 +0000 (15:12 +0100)] 
scheduler: Fix possible use_after_free in `cupsdReadClient()`

If `cupsdSendHeader()` fails, we free the connection and return -1, but
in that case we try to free the connection again in `cupsdReadClient()`.

2 weeks agoMerge pull request #1444 from snejok/new-usb-quirk-no_alt_set
Michael R Sweet [Wed, 10 Dec 2025 19:54:00 +0000 (14:54 -0500)] 
Merge pull request #1444 from snejok/new-usb-quirk-no_alt_set

new usb quirk: no-alt-set - won't even try set_conf or set_int_alt_set

2 weeks agoFix JSON output with empty arrays or objects (Issue #1452)
Michael R Sweet [Wed, 10 Dec 2025 16:57:00 +0000 (11:57 -0500)] 
Fix JSON output with empty arrays or objects (Issue #1452)

2 weeks agoFixed an annoying typo in the comments 1444/head
Lenar Shakirov [Fri, 5 Dec 2025 15:34:43 +0000 (18:34 +0300)] 
Fixed an annoying typo in the comments

2 weeks agoDon't follow symlinks when cleaning out the temporary directory (Issue #1448)
Michael R Sweet [Fri, 5 Dec 2025 15:28:44 +0000 (10:28 -0500)] 
Don't follow symlinks when cleaning out the temporary directory (Issue #1448)

2 weeks agoNo need extra debug printfs when NO_ALT_SET enabled
Lenar Shakirov [Fri, 5 Dec 2025 11:26:12 +0000 (14:26 +0300)] 
No need extra debug printfs when NO_ALT_SET enabled

3 weeks agoconf.c: Fix stopping scheduler on unknown directive
zdohnal [Thu, 4 Dec 2025 07:49:19 +0000 (08:49 +0100)] 
conf.c: Fix stopping scheduler on unknown directive

Change the return value to do not trigger stopping the scheduler in case of unknown directive, because stopping the scheduler on config errors should only happen in case of syntax errors.

3 weeks agoMerge pull request #1447 from weblate/weblate-cups-cups
Michael R Sweet [Wed, 3 Dec 2025 22:34:53 +0000 (17:34 -0500)] 
Merge pull request #1447 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

3 weeks agoTranslated using Weblate (Romanian) 1447/head
Remus-Gabriel Chelu [Wed, 3 Dec 2025 21:41:45 +0000 (22:41 +0100)] 
Translated using Weblate (Romanian)

Currently translated at 52.0% (2174 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/

3 weeks agousb-quirks: enable no-alt-set for Samsung M337x 387x 407x Series
Lenar Shakirov [Wed, 3 Dec 2025 15:21:12 +0000 (18:21 +0300)] 
usb-quirks: enable no-alt-set for Samsung M337x 387x 407x Series

04e8:3460 Samsung Electronics Co., Ltd M337x 387x 407x Series

This model print garbage after libusb_set_configuration or libusb_set_interface_alt_setting, especially when the printer has gone into sleep mode.

3 weeks agonew usb quirk: no-alt-set - won't even try set_conf or set_int_alt_set
Lenar Shakirov [Wed, 3 Dec 2025 15:17:09 +0000 (18:17 +0300)] 
new usb quirk: no-alt-set - won't even try set_conf or set_int_alt_set

new usb quirk: no-alt-set - won't even try libusb_set_configuration or libusb_set_interface_alt_setting

I noticed that sometimes garbage is printed with my
Samsung ProXpress M3870FD, this happens most often
if the printer has gone to sleep (after 1 min by default).

So if I print something 10 times, I get garbage 3-4 times.

After month of investigating I found that Samsung devices
don't like libusb_set_configuration or
libusb_set_interface_alt_setting.

My device:

04e8:3460 Samsung Electronics Co., Ltd M337x 387x 407x Series

https://blog.stuffedcow.net/2011/10/samsung-linux-cups-usb-printing/

apple/cups#3965

OpenPrinting/system-config-printer#408

https://github.com/OpenPrinting/cups/blob/master/backend/usb-libusb.c (search by "Samsung")

3 weeks agoconf.c: Fix stopping scheduler on unknown directive 1443/head
Zdenek Dohnal [Wed, 3 Dec 2025 15:12:54 +0000 (16:12 +0100)] 
conf.c: Fix stopping scheduler on unknown directive

Change the return value to do not trigger stopping the scheduler in case
of unknown directive, because stopping the scheduler on config errors
should only happen in case of syntax errors.

3 weeks agoUpdate cert username field to match connection username field size (Issue #1441)
Michael R Sweet [Wed, 3 Dec 2025 12:08:04 +0000 (07:08 -0500)] 
Update cert username field to match connection username field size (Issue #1441)

3 weeks agohttp.c: Fix infinite loop in GTK apps
zdohnal [Wed, 3 Dec 2025 11:55:30 +0000 (12:55 +0100)] 
http.c: Fix infinite loop in GTK apps

GTK has a specific IPP processing which stopped working after
CVE-2025-58436 fix. GTK depends on internal behavior of `_httpUpdate()`
which read a line from connection at the start of function, which was
one of culprits behind CVE-2025-58436.

To mitigate CVE-2025-58436 `_httpUpdate()` started to read from
connection only if there was data in internal HTTP buffer and there
was at least one newline buffered - otherwise the function returns
HTTP_ERROR/HTTP_CONTINUE, which caused the loop in GTK.

The change which fixes GTK behavior in the PR is to read data from
connection at the start of `_httpUpdate()` for non-blocking connections
immediately with no timeout if internal HTTP buffer is not full. The
change mitigates the CVE as well as the previous implementation.

Fixes #1429

3 weeks agohttp.c: Fix infinite loop in GTK print dialog 1439/head
Zdenek Dohnal [Wed, 3 Dec 2025 08:39:02 +0000 (09:39 +0100)] 
http.c: Fix infinite loop in GTK print dialog

GTK has a specific IPP processing which stopped working after
CVE-2025-58436 fix. GTK depends on internal behavior of `_httpUpdate()`
which read a line from connection at the start of function, which was
one of culprits behind CVE-2025-58436.

To mitigate CVE-2025-58436 `_httpUpdate()` started to read from
connection only if there was data in internal HTTP buffer and there
was at least one newline buffered - otherwise the function returns
HTTP_ERROR/HTTP_CONTINUE, which caused the loop in GTK.

The change which fixes GTK behavior in the PR is to read data from
connection at the start of `_httpUpdate()` for non-blocking connections
immediately with no timeout if internal HTTP buffer is not full. The
change mitigates the CVE as well as the previous implementation.

Fixes #1429

3 weeks agoMake sure 2-byte UTF-8 sequence is complete (Issue #1438)
Michael R Sweet [Tue, 2 Dec 2025 18:44:29 +0000 (13:44 -0500)] 
Make sure 2-byte UTF-8 sequence is complete (Issue #1438)

3 weeks agoMerge pull request #1435 from OpenPrinting/dependabot/github_actions/actions/upload...
Michael R Sweet [Mon, 1 Dec 2025 12:51:14 +0000 (07:51 -0500)] 
Merge pull request #1435 from OpenPrinting/dependabot/github_actions/actions/upload-artifact-5

Bump actions/upload-artifact from 4 to 5

3 weeks agoMerge pull request #1436 from OpenPrinting/dependabot/github_actions/actions/checkout-6
Michael R Sweet [Mon, 1 Dec 2025 12:49:13 +0000 (07:49 -0500)] 
Merge pull request #1436 from OpenPrinting/dependabot/github_actions/actions/checkout-6

Bump actions/checkout from 5 to 6

3 weeks agoBump actions/checkout from 5 to 6 1436/head
dependabot[bot] [Mon, 1 Dec 2025 11:37:22 +0000 (11:37 +0000)] 
Bump actions/checkout from 5 to 6

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoBump actions/upload-artifact from 4 to 5 1435/head
dependabot[bot] [Mon, 1 Dec 2025 11:37:18 +0000 (11:37 +0000)] 
Bump actions/upload-artifact from 4 to 5

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoFix coding style.
Michael R Sweet [Thu, 27 Nov 2025 23:23:59 +0000 (18:23 -0500)] 
Fix coding style.

4 weeks agoMerge commit from fork
zdohnal [Thu, 27 Nov 2025 15:07:59 +0000 (16:07 +0100)] 
Merge commit from fork

Fix various issues in cupsd

4 weeks agoFix various issues in cupsd
Michael R Sweet [Fri, 21 Nov 2025 06:29:53 +0000 (07:29 +0100)] 
Fix various issues in cupsd

Various issues were found by @SilverPlate3, recognized as CVE-2025-61915:

- out of bound write when handling IPv6 addresses,
- cupsd crash caused by null dereference when ErrorPolicy value is empty,

On the top of that, Mike Sweet noticed vulnerability via domain socket,
exploitable locally if attacker has access to domain socket and knows username
of user within a group which is present in CUPS system groups:

- rewrite of cupsd.conf via PeerCred authorization via domain socket

The last vulnerability is fixed by introducing PeerCred directive for cups-files.conf,
which controls whether PeerCred is enabled/disabled for user in CUPS system groups.

Fixes CVE-2025-61915

4 weeks agoMerge commit from fork
zdohnal [Thu, 27 Nov 2025 15:02:08 +0000 (16:02 +0100)] 
Merge commit from fork

Fix unresponsive cupsd process caused by a slow client

4 weeks agoFix some issues with job-presets-supported and printer-strings-languages-supported.
Michael R Sweet [Wed, 26 Nov 2025 19:39:00 +0000 (14:39 -0500)] 
Fix some issues with job-presets-supported and printer-strings-languages-supported.

4 weeks agoDon't use shared libraries for macOS CI runner.
Michael R Sweet [Mon, 24 Nov 2025 17:38:51 +0000 (12:38 -0500)] 
Don't use shared libraries for macOS CI runner.

4 weeks agoFix generated test filter scripts.
Michael R Sweet [Mon, 24 Nov 2025 16:45:35 +0000 (11:45 -0500)] 
Fix generated test filter scripts.

4 weeks agoFix DEBUG conditional.
Michael R Sweet [Fri, 21 Nov 2025 16:50:08 +0000 (11:50 -0500)] 
Fix DEBUG conditional.

4 weeks agoNeed to invalidate destination cache after removing filters.
Michael R Sweet [Fri, 21 Nov 2025 16:44:59 +0000 (11:44 -0500)] 
Need to invalidate destination cache after removing filters.

4 weeks agoFix syntax.
Michael R Sweet [Fri, 21 Nov 2025 14:04:54 +0000 (09:04 -0500)] 
Fix syntax.

4 weeks agoAlways produce the test logs artifacts, especially for failed tests... :)
Michael R Sweet [Fri, 21 Nov 2025 13:59:53 +0000 (08:59 -0500)] 
Always produce the test logs artifacts, especially for failed tests... :)

5 weeks agoUpdate artifact file list.
Michael R Sweet [Thu, 20 Nov 2025 19:26:41 +0000 (14:26 -0500)] 
Update artifact file list.

5 weeks agoAdd .txt extension to log files to make post-build introspection easier.
Michael R Sweet [Thu, 20 Nov 2025 19:25:05 +0000 (14:25 -0500)] 
Add .txt extension to log files to make post-build introspection easier.

5 weeks agoDon't copy logs to the build log, just to the build artifact.
Michael R Sweet [Thu, 20 Nov 2025 19:22:39 +0000 (14:22 -0500)] 
Don't copy logs to the build log, just to the build artifact.

5 weeks agoOn a successful run, move the libcups test.log to test-passed.log.
Michael R Sweet [Thu, 20 Nov 2025 19:10:35 +0000 (14:10 -0500)] 
On a successful run, move the libcups test.log to test-passed.log.

For GitHub CI, upload test logs as artifacts.

5 weeks agoMove logging of printer attributes to common failure cleanup code.
Michael R Sweet [Thu, 20 Nov 2025 16:13:42 +0000 (11:13 -0500)] 
Move logging of printer attributes to common failure cleanup code.

Update new filetype code to look for application/octet-stream and
application/pdf.

5 weeks agoMerge pull request #1426 from weblate/weblate-cups-cups
Michael R Sweet [Wed, 19 Nov 2025 13:11:18 +0000 (08:11 -0500)] 
Merge pull request #1426 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

5 weeks agoTranslated using Weblate (Czech) 1426/head
anotheranonymoususer [Tue, 18 Nov 2025 12:10:46 +0000 (13:10 +0100)] 
Translated using Weblate (Czech)

Currently translated at 12.8% (535 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/cs/

5 weeks agoFix unresponsive cupsd process caused by a slow client
Michael R Sweet [Tue, 18 Nov 2025 16:14:27 +0000 (17:14 +0100)] 
Fix unresponsive cupsd process caused by a slow client

If client is very slow, it will slow cupsd process for other clients.
The fix is the best effort without turning scheduler cupsd into
multithreaded process which would be too complex and error-prone when
backporting to 2.4.x series.

The fix for unencrypted communication is to follow up on communication
only if there is the whole line on input, and the waiting time is
guarded by timeout.

Encrypted communication now starts after we have the whole client hello
packet, which conflicts with optional upgrade support to HTTPS via
methods other than method OPTIONS, so this optional support defined in
RFC 2817, section 3.1 is removed. Too slow or incomplete requests are
handled by connection timeout.

Fixes CVE-2025-58436

5 weeks agoCheck for NULL attr pointer.
Michael R Sweet [Mon, 17 Nov 2025 16:31:22 +0000 (11:31 -0500)] 
Check for NULL attr pointer.

5 weeks agoAdd test filters to allow mimeGetFilterTypes to function on build systems
Michael R Sweet [Mon, 17 Nov 2025 16:27:32 +0000 (11:27 -0500)] 
Add test filters to allow mimeGetFilterTypes to function on build systems
without the CUPS filters installed.

5 weeks agoAdd missing lock around domain browser.
Michael R Sweet [Mon, 17 Nov 2025 15:13:07 +0000 (10:13 -0500)] 
Add missing lock around domain browser.

5 weeks agoRefactor MIME locking.
Michael R Sweet [Sun, 16 Nov 2025 23:15:11 +0000 (18:15 -0500)] 
Refactor MIME locking.

5 weeks agomimeGetFilterTypes didn't try to find filters to the printer format before
Michael R Sweet [Sun, 16 Nov 2025 13:59:31 +0000 (08:59 -0500)] 
mimeGetFilterTypes didn't try to find filters to the printer format before
bailing.

Log the attributes returned by the printer when setting up an IPP Everywhere
queue.

Log the printer MIME media type.

5 weeks agoUpdate regular expression for testing media size names.
Michael R Sweet [Sat, 15 Nov 2025 21:50:24 +0000 (16:50 -0500)] 
Update regular expression for testing media size names.

5 weeks agoMerge pull request #1423 from weblate/weblate-cups-cups
Michael R Sweet [Sun, 16 Nov 2025 13:03:47 +0000 (08:03 -0500)] 
Merge pull request #1423 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

5 weeks agoTranslated using Weblate (Spanish) 1423/head
Francisco Serrador [Fri, 14 Nov 2025 22:13:03 +0000 (23:13 +0100)] 
Translated using Weblate (Spanish)

Currently translated at 100.0% (4174 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/

5 weeks agoReturn false if we have an unterminated quoted string token, and do a better job
Michael R Sweet [Fri, 14 Nov 2025 22:36:51 +0000 (17:36 -0500)] 
Return false if we have an unterminated quoted string token, and do a better job
validating "$ENV[name]" and "${name}" expansions (Issue #1422)

Also update the documentation comments.

5 weeks agoAdd debug logging of supported formats.
Michael R Sweet [Fri, 14 Nov 2025 22:12:41 +0000 (17:12 -0500)] 
Add debug logging of supported formats.

5 weeks agoDocument that the USB backend supports other "quirks" files in the same
Michael R Sweet [Fri, 14 Nov 2025 21:56:34 +0000 (16:56 -0500)] 
Document that the USB backend supports other "quirks" files in the same
directory as "org.cups.usb-quirks", and where to report issues.

5 weeks agoFix memory leak in cups-oauth.
Michael R Sweet [Thu, 13 Nov 2025 17:58:41 +0000 (12:58 -0500)] 
Fix memory leak in cups-oauth.

6 weeks agoMerge pull request #1421 from weblate/weblate-cups-cups
Michael R Sweet [Thu, 13 Nov 2025 20:04:39 +0000 (15:04 -0500)] 
Merge pull request #1421 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 weeks agoTranslated using Weblate (Romanian) 1421/head
Remus-Gabriel Chelu [Thu, 13 Nov 2025 19:41:47 +0000 (20:41 +0100)] 
Translated using Weblate (Romanian)

Currently translated at 35.9% (1500 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/

6 weeks agoFix NULL checks in home.cgi.
Michael R Sweet [Thu, 13 Nov 2025 17:54:18 +0000 (12:54 -0500)] 
Fix NULL checks in home.cgi.

6 weeks agoReport a debug message if we are unable to get the device descriptor when making...
Michael R Sweet [Thu, 13 Nov 2025 17:45:10 +0000 (12:45 -0500)] 
Report a debug message if we are unable to get the device descriptor when making the URI.

6 weeks agoFix Coverity-reported locking issue for subscriptions.
Michael R Sweet [Thu, 13 Nov 2025 17:41:54 +0000 (12:41 -0500)] 
Fix Coverity-reported locking issue for subscriptions.

6 weeks agoFix format errors in Swedish localization.
Michael R Sweet [Thu, 13 Nov 2025 16:52:28 +0000 (11:52 -0500)] 
Fix format errors in Swedish localization.

Report WARNING when we don't have a complete localization.

6 weeks agoAdd new HTML/CSS developer test page for CUPS web interface (not installed), fix...
Michael R Sweet [Thu, 13 Nov 2025 15:56:02 +0000 (10:56 -0500)] 
Add new HTML/CSS developer test page for CUPS web interface (not installed), fix some CSS issues.

6 weeks agoAdd a new mimeGetFilterTypes function for getting the list of supported document
Michael R Sweet [Wed, 12 Nov 2025 21:48:32 +0000 (16:48 -0500)] 
Add a new mimeGetFilterTypes function for getting the list of supported document
formats for a printer.  The new algorithm is O(n log n) vs. the old O(n^4) (Issue #1392)

6 weeks agoFix typo in documentation.
Michael R Sweet [Wed, 12 Nov 2025 21:48:30 +0000 (16:48 -0500)] 
Fix typo in documentation.

6 weeks agoFix regression in cupsResolveConflicts.
Michael R Sweet [Wed, 12 Nov 2025 19:01:02 +0000 (14:01 -0500)] 
Fix regression in cupsResolveConflicts.

6 weeks agoDon't use custom prefix for non-standard sizes - use oe or om (Issue #1388)
Michael R Sweet [Wed, 12 Nov 2025 18:53:36 +0000 (13:53 -0500)] 
Don't use custom prefix for non-standard sizes - use oe or om (Issue #1388)

6 weeks agoAdd custom default size to media-supported, media-size-supported, and media-col-datab...
Michael R Sweet [Wed, 12 Nov 2025 18:18:47 +0000 (13:18 -0500)] 
Add custom default size to media-supported, media-size-supported, and media-col-database as well (Issue #1388)

6 weeks agoReport default media in media/-col/-ready (Issue #1388)
Michael R Sweet [Tue, 11 Nov 2025 23:04:10 +0000 (18:04 -0500)] 
Report default media in media/-col/-ready (Issue #1388)

6 weeks agoFix potential crash in cups-driverd due to duplicate PPDs (Issue #1355)
Michael R Sweet [Tue, 11 Nov 2025 21:28:46 +0000 (16:28 -0500)] 
Fix potential crash in cups-driverd due to duplicate PPDs (Issue #1355)

6 weeks agoDon't error out when scanning for PPDs (Issue #1416)
Michael R Sweet [Mon, 10 Nov 2025 22:52:01 +0000 (17:52 -0500)] 
Don't error out when scanning for PPDs (Issue #1416)

6 weeks agoFix clang warnings.
Michael R Sweet [Mon, 10 Nov 2025 20:13:33 +0000 (15:13 -0500)] 
Fix clang warnings.

6 weeks agoValidate referer URL before using it (Issue #1419)
Michael R Sweet [Mon, 10 Nov 2025 20:13:05 +0000 (15:13 -0500)] 
Validate referer URL before using it (Issue #1419)

6 weeks agoMerge pull request #1418 from snejok/usb-quirks-Samsung-M337x-387x-407x-04e83460
Michael R Sweet [Mon, 10 Nov 2025 19:04:08 +0000 (14:04 -0500)] 
Merge pull request #1418 from snejok/usb-quirks-Samsung-M337x-387x-407x-04e83460

usb-quirks: disable soft-reset for Samsung M337x 387x 407x Series

6 weeks agoMerge pull request #1417 from weblate/weblate-cups-cups
Michael R Sweet [Fri, 7 Nov 2025 15:12:27 +0000 (10:12 -0500)] 
Merge pull request #1417 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 weeks agoTranslated using Weblate (Spanish) 1417/head
Francisco Serrador [Fri, 7 Nov 2025 12:36:33 +0000 (13:36 +0100)] 
Translated using Weblate (Spanish)

Currently translated at 100.0% (4174 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/

7 weeks agoTranslated using Weblate (Spanish) 1414/head
Francisco Serrador [Wed, 5 Nov 2025 14:31:32 +0000 (15:31 +0100)] 
Translated using Weblate (Spanish)

Currently translated at 86.0% (3592 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/

7 weeks agoMake sure options pointer is not NULL.
Michael R Sweet [Tue, 4 Nov 2025 16:47:11 +0000 (11:47 -0500)] 
Make sure options pointer is not NULL.

7 weeks agoMerge pull request #1408 from AZero13/cve
Michael R Sweet [Tue, 4 Nov 2025 01:04:25 +0000 (20:04 -0500)] 
Merge pull request #1408 from AZero13/cve

Do not allow negative file descriptors to be closed

7 weeks agoDo not allow negative file descriptors to be closed 1408/head
AZero13 [Tue, 4 Nov 2025 00:55:13 +0000 (19:55 -0500)] 
Do not allow negative file descriptors to be closed

Especially

7 weeks agoMerge pull request #1405 from AZero13/refactor
Michael R Sweet [Tue, 4 Nov 2025 00:36:49 +0000 (19:36 -0500)] 
Merge pull request #1405 from AZero13/refactor

Refactor finish_document_data to use goto better

7 weeks agoSet fd to -1 1405/head
AZero13 [Tue, 4 Nov 2025 00:22:51 +0000 (19:22 -0500)] 
Set fd to -1

7 weeks agoRefactor finish_document_data to use goto better
AZero13 [Mon, 3 Nov 2025 23:47:08 +0000 (18:47 -0500)] 
Refactor finish_document_data to use goto better

7 weeks agoMerge pull request #1399 from weblate/weblate-cups-cups
Michael R Sweet [Sat, 1 Nov 2025 19:20:52 +0000 (15:20 -0400)] 
Merge pull request #1399 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

7 weeks agoTranslated using Weblate (Spanish) 1399/head
Francisco Serrador [Fri, 31 Oct 2025 19:21:56 +0000 (20:21 +0100)] 
Translated using Weblate (Spanish)

Currently translated at 79.0% (3301 of 4174 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/

7 weeks agoMerge pull request #1398 from OpenPrinting/dependabot/github_actions/github/codeql...
Michael R Sweet [Sat, 1 Nov 2025 14:11:15 +0000 (10:11 -0400)] 
Merge pull request #1398 from OpenPrinting/dependabot/github_actions/github/codeql-action-4

Bump github/codeql-action from 3 to 4

7 weeks agoBump github/codeql-action from 3 to 4 1398/head
dependabot[bot] [Sat, 1 Nov 2025 10:01:44 +0000 (10:01 +0000)] 
Bump github/codeql-action from 3 to 4

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
7 weeks agousb-quirks: disable soft-reset for Samsung M337x 387x 407x Series 1418/head
Lenar Shakirov [Fri, 31 Oct 2025 16:25:32 +0000 (19:25 +0300)] 
usb-quirks: disable soft-reset for Samsung M337x 387x 407x Series

04e8:3460 Samsung Electronics Co., Ltd M337x 387x 407x Series

I noticed that after first page is printed in CUPS scanner stops responding

7 weeks agoFix cupsJWTSign for EC with GNU TLS.
Michael R Sweet [Fri, 31 Oct 2025 15:22:58 +0000 (11:22 -0400)] 
Fix cupsJWTSign for EC with GNU TLS.

7 weeks agoUpdate list of attributes for each group.
Michael R Sweet [Thu, 30 Oct 2025 23:51:38 +0000 (19:51 -0400)] 
Update list of attributes for each group.

8 weeks agoPick up fixed from libcups for cupsCreateCredentials, cupsCreateCredentialsRequest...
Michael R Sweet [Wed, 29 Oct 2025 18:37:07 +0000 (14:37 -0400)] 
Pick up fixed from libcups for cupsCreateCredentials, cupsCreateCredentialsRequest, and httpGetDateTime.

2 months agoAdd "WITH-VALUE !number" comparison for ipptool.
Michael R Sweet [Thu, 23 Oct 2025 21:55:46 +0000 (17:55 -0400)] 
Add "WITH-VALUE !number" comparison for ipptool.

Clean up man pages.

2 months agoUpdate/sync docos.
Michael R Sweet [Wed, 22 Oct 2025 22:15:32 +0000 (18:15 -0400)] 
Update/sync docos.

2 months agoCleanup and sync with changes from libcups.
Michael R Sweet [Wed, 22 Oct 2025 21:55:34 +0000 (17:55 -0400)] 
Cleanup and sync with changes from libcups.