]>
git.ipfire.org Git - thirdparty/cups.git/log
Michael R Sweet [Sat, 13 Jun 2026 16:21:46 +0000 (12:21 -0400)]
Fix JSON and PPD/PS long number error handling (Issue #1608)
Michael R Sweet [Sat, 13 Jun 2026 15:58:24 +0000 (11:58 -0400)]
Fix SNMP hex string debug output (Issue #1610)
Michael R Sweet [Fri, 12 Jun 2026 21:24:12 +0000 (17:24 -0400)]
Protect against bad JOB_PRINTER_URI variable (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:18:05 +0000 (17:18 -0400)]
Protect against NULL variables (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:00:18 +0000 (17:00 -0400)]
Fix cgiFormEncode error (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 20:15:48 +0000 (16:15 -0400)]
Open temporary PPD files more securely.
Michael R Sweet [Fri, 12 Jun 2026 19:43:15 +0000 (15:43 -0400)]
Sanitizer destination-uri and pre-dial-string values.
Michael R Sweet [Fri, 12 Jun 2026 18:45:40 +0000 (14:45 -0400)]
Sanitize IPP attribute strings.
Michael R Sweet [Fri, 12 Jun 2026 15:56:07 +0000 (11:56 -0400)]
Use case insensitive comparisons since the PPD API does.
Zdenek Dohnal [Fri, 12 Jun 2026 07:18:36 +0000 (09:18 +0200)]
tls-gnutls.c: Fix type in debug message
StartTLS - > TLSStart
Michael R Sweet [Wed, 10 Jun 2026 22:27:59 +0000 (18:27 -0400)]
Make sure we have room for another space (Issue #1607)
Michael R Sweet [Wed, 10 Jun 2026 19:01:45 +0000 (15:01 -0400)]
Merge pull request #1605 from aizu-m/import-ppd-font-sscanf
bound Font attribute sscanf in import_ppd
aizu-m [Wed, 10 Jun 2026 06:18:34 +0000 (11:48 +0530)]
bound Font attribute sscanf in import_ppd
The four char[256] destinations were filled by width-less %s/%[ conversions, so a *Font value with a token over 255 bytes (reachable via a multi-line quoted version field) overflowed the stack. Cap each field at 255 chars.
Michael R Sweet [Tue, 9 Jun 2026 21:06:24 +0000 (17:06 -0400)]
Update requirements for language and country codes.
Michael R Sweet [Tue, 9 Jun 2026 20:40:04 +0000 (16:40 -0400)]
Merge pull request #1603 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Michael R Sweet [Tue, 9 Jun 2026 12:07:51 +0000 (14:07 +0200)]
Deleted translation using Weblate (Kabyle)
ButterflyOfFire [Mon, 8 Jun 2026 17:49:39 +0000 (19:49 +0200)]
Translated using Weblate (Kabyle)
Currently translated at 1.9% (80 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/kab/
ButterflyOfFire [Mon, 8 Jun 2026 17:23:40 +0000 (19:23 +0200)]
Added translation using Weblate (Kabyle)
Michael R Sweet [Tue, 9 Jun 2026 20:36:27 +0000 (16:36 -0400)]
Increase supply name buffer by 1 byte (Issue #1604)
Michael R Sweet [Tue, 9 Jun 2026 12:27:28 +0000 (08:27 -0400)]
Changelog.
Michael R Sweet [Tue, 9 Jun 2026 12:20:35 +0000 (08:20 -0400)]
Merge pull request #1587 from ValdikSS/1375-fix-ppd-cache
Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375
Michael R Sweet [Tue, 9 Jun 2026 11:37:24 +0000 (07:37 -0400)]
Copyright, whitespace.
Michael R Sweet [Tue, 9 Jun 2026 11:35:17 +0000 (07:35 -0400)]
Merge pull request #1598 from aizu-m/encode-string-bounds
fix out-of-bounds write in encode_string
aizu-m [Tue, 9 Jun 2026 06:42:08 +0000 (12:12 +0530)]
fix out-of-bounds write in encode_string
Michael R Sweet [Mon, 8 Jun 2026 11:37:27 +0000 (07:37 -0400)]
Merge pull request #1595 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Sun, 7 Jun 2026 19:33:26 +0000 (21:33 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.6% (4003 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Michael R Sweet [Sat, 6 Jun 2026 15:17:01 +0000 (11:17 -0400)]
Merge pull request #1594 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Fri, 5 Jun 2026 21:41:32 +0000 (23:41 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.4% (3994 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
ValdikSS [Thu, 28 May 2026 18:05:44 +0000 (21:05 +0300)]
Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375
If the client software sends only PageSize using Adobe name (common
when printer is shared), but the PPD file uses non-Adobe name,
default page size was used, which is incorrect.
The previous attempt in commit
226f509 to fix this issue have
missed loading PPD cache if no media is supplied.
Michael R Sweet [Sun, 24 May 2026 18:41:21 +0000 (14:41 -0400)]
Fix whitespace.
Michael R Sweet [Sun, 24 May 2026 18:32:58 +0000 (14:32 -0400)]
Fix test suite crash caused by changes for duplicate printers (Issue #1531)
Michael R Sweet [Sun, 24 May 2026 17:29:13 +0000 (13:29 -0400)]
Changelog.
Michael R Sweet [Sun, 24 May 2026 17:28:22 +0000 (13:28 -0400)]
Merge pull request #1573 from abubakarsabir924-cell/fix-local-printer-duplicate-1531
Fix duplicate local printers in DNS-SD discovery (Issue #1531)
Michael R Sweet [Sun, 24 May 2026 17:25:13 +0000 (13:25 -0400)]
Merge pull request #1577 from abubakarsabir924-cell/fix/issue-1304-satisfy-all
Fix: Satisfy all with multiple Require directives (issue #1304)
Michael R Sweet [Sun, 24 May 2026 17:16:05 +0000 (13:16 -0400)]
Merge pull request #1582 from abubakarsabir924-cell/fix/docker-libcups-runtime-issue-1275
Fix Docker: embed rpath and copy libcups.so.2 into runtime stage (issue #1275)
abubakarsabir924-cell [Sat, 23 May 2026 15:32:15 +0000 (11:32 -0400)]
Fix duplicate local printers using UUID comparison (Issue #1531)
Updated fix based on michaelrsweet feedback:
- Added printer-uuid to pattrs array in _cupsGetDests()
- Compare UUID from DNS-SD TXT record against local queue
printer-uuid values in cups_dest_query_cb()
- UUID is guaranteed unique unlike rp value
abubakarsabir924-cell [Sat, 23 May 2026 14:47:16 +0000 (10:47 -0400)]
Remove redundant libgnutls packages and translate comments to English
abubakarsabir924-cell [Sat, 23 May 2026 03:40:06 +0000 (23:40 -0400)]
Fix review comments: use bool, English comments, collapse else-if
Michael R Sweet [Fri, 22 May 2026 20:14:33 +0000 (16:14 -0400)]
Don't strip '@domain' portion of username if StripUserDomain isn't enabled (Issue #1584)
abubakarsabir924-cell [Tue, 19 May 2026 03:44:03 +0000 (23:44 -0400)]
Fix: use --libdir=/usr/lib to ensure library installs to standard path
Previous approach used /usr/lib64 which is x86_64 specific and
not present in Ubuntu's ldconfig search path. Using --libdir=/usr/lib
at configure time ensures libcups.so.2 installs to the standard
location that ldconfig finds on all architectures.
Also using make install DESTDIR=/buildroot as suggested by
@michaelrsweet to copy the entire build root instead of
individual files.
Tested: container stays Up, curl returns HTTP 200
abubakarsabir924-cell [Tue, 19 May 2026 02:21:06 +0000 (22:21 -0400)]
Address review feedback from @michaelrsweet
- Remove LDFLAGS rpath (not needed, not portable across architectures)
- Use make install DESTDIR=/buildroot instead of copying individual files
- Add lib64->lib symlink and run ldconfig for library discovery
Tested: container stays Up, curl returns HTTP 200
abubakarsabir924-cell [Mon, 18 May 2026 22:10:23 +0000 (18:10 -0400)]
Fix Docker: embed rpath and copy runtime files (issue #1275)
PR #1153 introduced a multi-stage Dockerfile but left two bugs:
1. libcups.so.2 was not copied into the runtime stage, causing:
error while loading shared libraries: libcups.so.2: cannot open
shared object file: No such file or directory
2. Runtime apt dependencies (openssl, libavahi-client3, etc.)
were missing from the runtime stage.
Fix:
- Pass LDFLAGS='-Wl,-rpath,/usr/lib64' at configure time
- Explicitly COPY libcups.so.2 into runtime stage
- Install correct runtime packages in runtime stage
- Add Browsing No to prevent avahi crash in container
- Run ldconfig in runtime stage
Fixes #1275
Michael R Sweet [Fri, 15 May 2026 18:51:55 +0000 (14:51 -0400)]
Merge pull request #1579 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Thu, 14 May 2026 18:17:48 +0000 (20:17 +0200)]
Translated using Weblate (Italian)
Currently translated at 78.4% (3281 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
abubakarsabir924-cell [Fri, 15 May 2026 00:42:34 +0000 (20:42 -0400)]
Fix: Satisfy all with multiple Require directives
- conf.c: Prevent level overwrite when multiple Require
directives are used in same Location block
- auth.c: Implement AND logic for Satisfy all with
multiple Require conditions instead of OR logic
Fixes #1304
abubakarsabir924-cell [Sun, 10 May 2026 06:07:31 +0000 (02:07 -0400)]
fix duplicate local printers in DNS-SD discovery (Issue #1531)
Michael R Sweet [Thu, 7 May 2026 14:36:23 +0000 (10:36 -0400)]
Merge pull request #1571 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Thu, 7 May 2026 13:27:43 +0000 (15:27 +0200)]
Translated using Weblate (Italian)
Currently translated at 78.1% (3267 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Michael R Sweet [Wed, 6 May 2026 16:16:58 +0000 (12:16 -0400)]
Merge pull request #1567 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Wed, 6 May 2026 13:19:56 +0000 (15:19 +0200)]
Translated using Weblate (Italian)
Currently translated at 76.9% (3217 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Michael R Sweet [Mon, 4 May 2026 20:18:44 +0000 (16:18 -0400)]
Support standard PPD, PWG, and legacy names for media/PageSize regardless of the PPD file (Issue #1375)
Michael R Sweet [Mon, 4 May 2026 11:55:19 +0000 (07:55 -0400)]
Do some cleanup and generate the HTML version of the cupsd.conf man page.
Michael R Sweet [Mon, 4 May 2026 11:42:54 +0000 (07:42 -0400)]
Merge pull request #1564 from abubakarsabir924-cell/fix/auth-failure-log-level
Add BrowseIPPSOnly boolean directive and update man page
Michael R Sweet [Sun, 3 May 2026 20:31:34 +0000 (16:31 -0400)]
Merge pull request #1566 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
JonasBentin [Sat, 2 May 2026 18:28:30 +0000 (20:28 +0200)]
Translated using Weblate (Danish)
Currently translated at 8.6% (363 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/da/
Michael R Sweet [Sun, 3 May 2026 14:12:10 +0000 (10:12 -0400)]
Merge pull request #1565 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
abubakarsabir924-cell [Sat, 2 May 2026 17:10:39 +0000 (22:10 +0500)]
Reuse TXT record for both IPP and IPPS services
abubakarsabir924-cell [Sat, 2 May 2026 04:18:40 +0000 (09:18 +0500)]
Fix: Initialize variable and wrap standard IPP registration
Ettore Atalan [Fri, 1 May 2026 03:41:30 +0000 (05:41 +0200)]
Translated using Weblate (German)
Currently translated at 74.4% (3113 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/de/
abubakarsabir924-cell [Fri, 1 May 2026 20:07:13 +0000 (01:07 +0500)]
Fix: Initialize variable and wrap standard IPP registration
abubakarsabir924-cell [Fri, 1 May 2026 20:00:27 +0000 (01:00 +0500)]
Fix: Initialize variable and wrap standard IPP registration
abubakarsabir924-cell [Fri, 1 May 2026 19:25:11 +0000 (00:25 +0500)]
Fix: Wrap IPP registration and restore deleted comment
abubakarsabir924-cell [Fri, 1 May 2026 01:32:18 +0000 (06:32 +0500)]
Add BrowseIPPSOnly boolean directive and update man page
Michael R Sweet [Thu, 30 Apr 2026 21:29:26 +0000 (17:29 -0400)]
Handle some more compound makes (Issue #1313)
Michael R Sweet [Tue, 28 Apr 2026 23:19:28 +0000 (19:19 -0400)]
Clean up and normalize all of the authentication/authorization messages.
Michael R Sweet [Tue, 28 Apr 2026 21:47:54 +0000 (17:47 -0400)]
Merge pull request #1561 from abubakarsabir924-cell/fix/auth-failure-log-level
scheduler: Raise auth failure log level from DEBUG to WARN for fail2ban compatibility
Michael R Sweet [Tue, 28 Apr 2026 21:41:54 +0000 (17:41 -0400)]
Fix filter PPD keyword processing (Issue #1562)
abubakar sabir [Tue, 28 Apr 2026 03:28:37 +0000 (08:28 +0500)]
Update authentication log messages for consistency and fix argument mismatch
abubakar sabir [Mon, 27 Apr 2026 22:49:31 +0000 (03:49 +0500)]
scheduler: Restore pam_end() call after auth failure massage
abubakar sabir [Mon, 27 Apr 2026 22:28:00 +0000 (03:28 +0500)]
Standardize authentication failure logging
abubakar sabir [Mon, 27 Apr 2026 20:16:36 +0000 (01:16 +0500)]
Standardize authentication failure logging
abubakar sabir [Sun, 26 Apr 2026 20:04:44 +0000 (01:04 +0500)]
scheduler: add explicit WARN log with client IP when PAM authentication fails
abubakar sabir [Sun, 26 Apr 2026 02:36:18 +0000 (07:36 +0500)]
scheduler: Raise auth failure log level from DEBUG to WARN for fail2ban compatibility
Michael R Sweet [Fri, 24 Apr 2026 18:10:50 +0000 (14:10 -0400)]
Add yes and no translations to the new Kazakh messgae catalog.
Michael R Sweet [Fri, 24 Apr 2026 18:05:19 +0000 (14:05 -0400)]
Clean up code formatting.
Michael R Sweet [Fri, 24 Apr 2026 18:01:37 +0000 (14:01 -0400)]
Fix unauthenticated print policies (Issue #1557)
Michael R Sweet [Wed, 22 Apr 2026 19:11:46 +0000 (15:11 -0400)]
Update the default policy for the Set-Printer-Attributes operation as admin.
Michael R Sweet [Wed, 22 Apr 2026 19:04:07 +0000 (15:04 -0400)]
Add missing value tag test to cupsCheckDestSupported.
Michael R Sweet [Wed, 22 Apr 2026 18:55:22 +0000 (14:55 -0400)]
Update PPD generator to only support custom boolean, integer, and keyword member attributes in job-presets-supported.
Michael R Sweet [Sun, 19 Apr 2026 18:20:52 +0000 (14:20 -0400)]
Update translation guide.
Michael R Sweet [Sun, 19 Apr 2026 17:50:36 +0000 (13:50 -0400)]
Update desktop file with Romanian translations (Issue #1554)
Michael R Sweet [Sat, 18 Apr 2026 21:06:45 +0000 (17:06 -0400)]
Merge pull request #1552 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Baurzhan Muftakhidinov [Sat, 18 Apr 2026 18:22:18 +0000 (20:22 +0200)]
Added translation using Weblate (Kazakh)
Remus-Gabriel Chelu [Sat, 18 Apr 2026 16:37:34 +0000 (18:37 +0200)]
Translated using Weblate (Romanian)
Currently translated at 100.0% (4183 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/
Michael R Sweet [Thu, 16 Apr 2026 17:15:31 +0000 (13:15 -0400)]
Fix regression in cupsRasterRead/WriteHeader.
Michael R Sweet [Thu, 16 Apr 2026 13:31:55 +0000 (09:31 -0400)]
Send options for PCLm content as well (Issue #1551)
Michael R Sweet [Wed, 15 Apr 2026 18:40:46 +0000 (14:40 -0400)]
Merge pull request #1549 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Francisco Serrador [Tue, 14 Apr 2026 15:22:52 +0000 (17:22 +0200)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (4183 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Michael R Sweet [Mon, 13 Apr 2026 18:50:28 +0000 (14:50 -0400)]
Calculate actual size of number values when exporting, and fix argument to _cupsStrFormatd (Issue #1546)
Michael R Sweet [Mon, 13 Apr 2026 18:25:22 +0000 (14:25 -0400)]
Don't allow form data to try setting environment variables, and duplicate environment variable values as needed (Issue #1547)
Michael R Sweet [Mon, 13 Apr 2026 18:17:51 +0000 (14:17 -0400)]
Fix builds on systems that don't define OFF_MAX.
Michael R Sweet [Mon, 13 Apr 2026 18:00:52 +0000 (14:00 -0400)]
Also allow a length of 841 points.
Michael R Sweet [Mon, 13 Apr 2026 17:58:16 +0000 (13:58 -0400)]
Add size check to A4 support (Issue #1544)
Michael R Sweet [Mon, 13 Apr 2026 17:51:54 +0000 (13:51 -0400)]
Fix blank line detection in rastertolabel (Issue #1545)
Michael R Sweet [Mon, 13 Apr 2026 17:48:39 +0000 (13:48 -0400)]
Limit test page resolution from 1 to 9600dpi (Issue #1541)
Michael R Sweet [Mon, 13 Apr 2026 17:18:29 +0000 (13:18 -0400)]
Update processing of LimitRequestBody, MaxLogSize, and MaxRequestSize to support full range of file sizes (Issue #1540)
Michael R Sweet [Mon, 13 Apr 2026 16:19:46 +0000 (12:19 -0400)]
Protect against deep collection values (Issue #1539)
Michael R Sweet [Mon, 13 Apr 2026 16:02:17 +0000 (12:02 -0400)]
Range check cached SNMP supply level info (Issue #1538)
Michael R Sweet [Mon, 13 Apr 2026 15:55:37 +0000 (11:55 -0400)]
Fix rastertoepson allocation bug in unused driver code (Issue #1537)
Michael R Sweet [Mon, 13 Apr 2026 15:52:41 +0000 (11:52 -0400)]
Fix compiler warning about 'misleading indentation' in the macOS USB backend code.