]> git.ipfire.org Git - thirdparty/cups.git/blame - CHANGES.md
Merge pull request #5621 from zdohnal/cgigetarray-sigsegv
[thirdparty/cups.git] / CHANGES.md
CommitLineData
fca9a981 1CHANGES - 2.3.1 - 2019-10-15
0cf87cf5
MS
2============================
3
4
bc5060a1
MS
5Changes in CUPS v2.3.1
6----------------------
7
fca9a981 8- Documentation updates (Issue #5661)
2a06655e 9- PPD files containing "custom" option keywords did not work (Issue #5639)
f8688d73 10- Added a workaround for the scheduler's systemd support (Issue #5640)
bc5060a1 11- Fixed spelling of "fold-accordion".
1e01995a 12- Fixed the default common name for TLS certificates used by `ippeveprinter`.
eff8c82f 13- Fixed a bug in the handling of printer resource files (Issue #5652)
99c3e9f3
MS
14- The libusb-based USB backend now reports an error when the distribution
15 permissions are wrong (Issue #5658)
692b157d 16- Added paint can labels to Dymo driver (Issue #5662)
5b835597
MS
17- The IPP backend did not detect all cases where a job should be retried using
18 a raster format (rdar://56021091)
bc5060a1
MS
19
20
0cf87cf5
MS
21Changes in CUPS v2.3.0
22----------------------
23
2c030c7a 24- CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251)
7b6d49ee 25- Added a GPL2/LGPL2 exception to the new CUPS license terms.
242b4b9b 26- Documentation updates (Issue #5604)
ed174a7c 27- Localization updates (Issue #5637)
2e738f03 28- Fixed a bug in the scheduler job cleanup code (Issue #5588)
2614dc63 29- Fixed builds when there is no TLS library (Issue #5590)
8ef4f507 30- Eliminated some new GCC compiler warnings (Issue #5591)
b7569be6 31- Removed dead code from the scheduler (Issue #5593)
3001a140 32- "make" failed with GZIP options (Issue #5595)
66478948
MS
33- Fixed potential excess logging from the scheduler when removing job files
34 (Issue #5597)
c9b65dc4 35- Fixed a NULL pointer dereference bug in `httpGetSubField2` (Issue #5598)
c76c5361 36- Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622)
614efb7a
MS
37- The scheduler no longer provides a default value for the description
38 (Issue #5603)
c5dcd7ec
MS
39- The scheduler now logs jobs held for authentication using the error level so
40 it is clear what happened (Issue #5604)
9539c530
MS
41- The `lpadmin` command did not always update the PPD file for changes to the
42 `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
3c27d2a6
MS
43- The scheduler now uses both the group's membership list as well as the
44 various OS-specific membership functions to determine whether a user belongs
45 to a named group (Issue #5613)
3cf5b72a 46- Added USB quirks rule for HP LaserJet 1015 (Issue #5617)
dc00a7c3 47- Fixed some PPD parser issues (Issue #5623, Issue #5624)
5754bcce
MS
48- The IPP parser no longer allows invalid member attributes in collections
49 (Issue #5630)
ee6be9cd
MS
50- The configure script now treats the "wheel" group as a potential system
51 group (Issue #5638)
60a7373f 52- Fixed a USB printing issue on macOS (rdar://31433931)
2c030c7a
MS
53- Fixed IPP buffer overflow (rdar://50035411)
54- Fixed memory disclosure issue in the scheduler (rdar://51373853)
55- Fixed DoS issues in the scheduler (rdar://51373929)
f93b470e
MS
56- Fixed an issue with unsupported "sides" values in the IPP backend
57 (rdar://51775322)
e9a4e9d6
MS
58- The scheduler would restart continuously when idle and printers were not
59 shared (rdar://52561199)
0cf87cf5 60- Fixed an issue with `EXPECT !name WITH-VALUE ...` tests.
5098fdde 61- Fixed a command ordering issue in the Zebra ZPL driver.
db1c94f3 62- Fixed a memory leak in `ppdOpen`.
5da48e46
MS
63
64
65Changes in CUPS v2.3rc1
66-----------------------
67
b761dd43
MS
68- The `cups-config` script no longer adds extra libraries when linking against
69 shared libraries (Issue #5261)
bf7c7411
MS
70- The supplied example print documents have been optimized for size
71 (Issue #5529)
20c9da81
MS
72- The `cupsctl` command now prevents setting "cups-files.conf" directives
73 (Issue #5530)
e923f65f 74- The "forbidden" message in the web interface is now explained (Issue #5547)
0e17f4c9
MS
75- The footer in the web interface covered some content on small displays
76 (Issue #5574)
b761dd43
MS
77- The libusb-based USB backend now enforces read limits, improving print speed
78 in many cases (Issue #5583)
5da48e46
MS
79- The `ippeveprinter` command now looks for print commands in the "command"
80 subdirectory.
9018ff94
MS
81- The `ipptool` command now supports `$date-current` and `$date-start` variables
82 to insert the current and starting date and time values, as well as ISO-8601
83 relative time values such as "PT30S" for 30 seconds in the future.
d07cb8d5 84
9f409435
MS
85
86Changes in CUPS v2.3b8
87----------------------
88
f05517ca 89- Media size matching now uses a tolerance of 0.5mm (rdar://33822024)
bb525305 90- The lpadmin command would hang with a bad PPD file (rdar://41495016)
9f409435 91- Fixed a potential crash bug in cups-driverd (rdar://46625579)
ef3aba66 92- Fixed a performance regression with large PPDs (rdar://47040759)
9a51a815
MS
93- Fixed a memory reallocation bug in HTTP header value expansion
94 (rdar://problem/50000749)
d6395c6f 95- Timed out job submission now yields an error (Issue #5570)
4c00fa53
MS
96- Restored minimal support for the `Emulators` keyword in PPD files to allow
97 old Samsung printer drivers to continue to work (Issue #5562)
5483fd29
MS
98- The scheduler did not encode octetString values like "job-password" correctly
99 for the print filters (Issue #5558)
677e4ca6
MS
100- The `cupsCheckDestSupported` function did not check octetString values
101 correctly (Issue #5557)
59cd12c6 102- Added support for `UserAgentTokens` directive in "client.conf" (Issue #5555)
4d0f1959 103- Updated the systemd service file for cupsd (Issue #5551)
d9f301dd
MS
104- The `ippValidateAttribute` function did not catch all instances of invalid
105 UTF-8 strings (Issue #5509)
e625fa13
MS
106- Fixed an issue with the self-signed certificates generated by GNU TLS
107 (Issue #5506)
127c90da 108- Fixed a potential memory leak when reading at the end of a file (Issue #5473)
5a00cf37 109- Fixed potential unaligned accesses in the string pool (Issue #5474)
4b5a6914 110- Fixed a potential memory leak when loading a PPD file (Issue #5475)
aa09736e 111- Added a USB quirks rule for the Lexmark E120n (Issue #5478)
a7c0c36c 112- Updated the USB quirks rule for Zebra label printers (Issue #5395)
0057f146 113- Fixed a compile error on Linux (Issue #5483)
622207ef
MS
114- The lpadmin command, web interface, and scheduler all queried an IPP
115 Everywhere printer differently, resulting in different PPDs for the same
116 printer (Issue #5484)
0d94b8bf 117- The web interface no longer provides access to the log files (Issue #5513)
1ce6909d 118- Non-Kerberized printing to Windows via IPP was broken (Issue #5515)
6e63114c 119- Eliminated use of private headers and some deprecated macOS APIs (Issue #5516)
45cae1bc
MS
120- The scheduler no longer stops a printer if an error occurs when a job is
121 canceled or aborted (Issue #5517)
76bb0a3b 122- Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
5ca3a7ff 123- Added a USB quirks rule for Xerox printers (Issue #5523)
1df7a461
MS
124- The scheduler's self-signed certificate did not include all of the alternate
125 names for the server when using GNU TLS (Issue #5525)
2a06fe63 126- Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533)
d88008a0
MS
127- Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
128 (Issue #5535)
f88b8468 129- Fixed `PreserveJobHistory` bug with time values (Issue #5538)
d2df4e48 130- The scheduler no longer advertises the HTTP methods it supports (Issue #5540)
09cc2788 131- Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486,
fe0d6115 132 Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495,
fa2851d5 133 Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504)
47b3bd03 134- The scheduler did not always idle exit as quickly as it could.
d46dbe1b 135- Added a new `ippeveprinter` command based on the old ippserver sample code.
9f409435
MS
136
137
8a763079
MS
138Changes in CUPS v2.3b7
139----------------------
140
3642bcbd 141- Fixed some build failures (Issue #5451, Issue #5463)
70bdce16
MS
142- Running ppdmerge with the same input and output filenames did not work as
143 advertised (Issue #5455)
8a763079
MS
144
145
39897200
MS
146Changes in CUPS v2.3b6
147----------------------
148
f07dbc95
MS
149- Localization update (Issue #5339, Issue #5348, Issue #5362, Issue #5408,
150 Issue #5410)
ee347e17 151- Documentation updates (Issue #5369, Issue #5402, Issue #5403, Issue #5404)
87854afe 152- CVE-2018-4300: Linux session cookies used a predictable random number seed.
33abc3d6 153- All user commands now support the `--help` option (Issue #5326)
df4101bf
MS
154- The `lpoptions` command now works with IPP Everywhere printers that have not
155 yet been added as local queues (Issue #5045)
997b6734
MS
156- The lpadmin command would create a non-working printer in some error cases
157 (Issue #5305)
9dcb503f
MS
158- The scheduler would crash if an empty `AccessLog` directive was specified
159 (Issue #5309)
9fc5c8d4 160- The scheduler did not idle-exit on some Linux distributions (Issue #5319)
1d677f11
MS
161- Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
162 Issue #5330)
7e041a5e 163- Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
945c83b9 164- Automatic debug logging of job errors did not work with systemd (Issue #5337)
553f29c9 165- The web interface did not list the IPP Everywhere "driver" (Issue #5338)
91505c0a
MS
166- The scheduler did not report all of the supported job options and values
167 (Issue #5340)
bf86060f
MS
168- The IPP Everywhere "driver" now properly supports face-up printers
169 (Issue #5345)
c604931d 170- Fixed some typos in the label printer drivers (Issue #5350)
8d32a3f9
MS
171- Setting the `Community` name to the empty string in `snmp.conf` now disables
172 SNMP supply level monitoring by all the standard network backends
173 (Issue #5354)
72a21348
MS
174- Multi-file jobs could get stuck if the backend failed (Issue #5359,
175 Issue #5413)
fd7190c1
MS
176- The IPP Everywhere "driver" no longer does local filtering when printing to
177 a shared CUPS printer (Issue #5361)
1582479c
MS
178- The lpadmin command now correctly reports IPP errors when configuring an
179 IPP Everywhere printer (Issue #5370)
3416fe95 180- Fixed some memory leaks discovered by Coverity (Issue #5375)
60478321 181- The PPD compiler incorrectly terminated JCL options (Issue #5379)
bac967ae
MS
182- The cupstestppd utility did not generate errors for missing/mismatched
183 CloseUI/JCLCloseUI keywords (Issue #5381)
cdeee633 184- The scheduler now reports the actual location of the log file (Issue #5398)
3043e3a5 185- Added USB quirk rules (Issue #5395, Issue #5420, Issue #5443)
c0c13a68
MS
186- The generated PPD files for IPP Everywhere printers did not contain the
187 cupsManualCopies keyword (Issue #5433)
ef2f369c 188- Kerberos credentials might be truncated (Issue #5435)
8c714355 189- The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
c29d06f9 190- Fixed a bug adding a queue with the `-E` option (Issue #5440)
f1def5b8 191- The `cupsaddsmb` program has been removed (Issue #5449)
dc5c941a 192- The `cupstestdsc` program has been removed (Issue #5450)
bbe495b0
MS
193- The scheduler was being backgrounded on macOS, causing applications to spin
194 (rdar://40436080)
7d4510a0
MS
195- The scheduler did not validate that required initial request attributes were
196 in the operation group (rdar://41098178)
bf265b3a 197- Authentication in the web interface did not work on macOS (rdar://41444473)
3aeb120e 198- Fixed an issue with HTTP Digest authentication (rdar://41709086)
59a8560a 199- The scheduler could crash when job history was purged (rdar://42198057)
2d9eecc4
MS
200- Fixed a crash bug when mapping PPD duplex options to IPP attributes
201 (rdar://46183976)
39897200 202- Fixed a memory leak for some IPP (extension) syntaxes.
14435106
MS
203- The `cupscgi`, `cupsmime`, and `cupsppdc` support libraries are no longer
204 installed as shared libraries.
3bd38497 205- The `snmp` backend is now deprecated.
39897200
MS
206
207
8eed4387 208Changes in CUPS v2.3b5
39897200 209----------------------
d07cb8d5
MS
210
211- The `ipptool` program no longer checks for duplicate attributes when running
212 in list or CSV mode (Issue #5278)
159e0279
MS
213- The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use
214 the supplied HTTP connection (Issue #5288)
656c109a
MS
215- Fixed another crash in the scheduler when adding an IPP Everywhere printer
216 (Issue #5290)
4feb1fe2
MS
217- Added a workaround for certain web browsers that do not support multiple
218 authentication schemes in a single response header (Issue #5289)
0873f681 219- Fixed policy limits containing the `All` operation (Issue #5296)
bd4b5b3e 220- The scheduler was always restarted after idle-exit with systemd (Issue #5297)
050d2657 221- Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310)
2de7c5f8 222- The mailto notifier did not wait for the welcome message (Issue #5312)
0541a2c9 223- Fixed a parsing bug in the pstops filter (Issue #5321)
dfe5f3b9 224- Documentation updates (Issue #5299, Issue #5301, Issue #5306)
b27f4108 225- Localization updates (Issue #5317)
53f84044
MS
226- The scheduler allowed environment variables to be specified in the
227 `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252,
228 rdar://37837581)
fbcc927d
MS
229- Fax queues did not support pause (p) or wait-for-dialtone (w) characters
230 (rdar://39212256)
be7581b6
MS
231- The scheduler did not validate notify-recipient-uri values properly
232 (rdar://40068936)
8eed4387 233- The IPP parser allowed invalid group tags (rdar://40442124)
44cb0dd2 234- Fixed a parsing bug in the new authentication code.
d07cb8d5 235
2a20b512 236
63f8dcbd
MS
237Changes in CUPS v2.3b4
238----------------------
ab89234d 239
b25f3cf0 240- NOTICE: Printer drivers are now deprecated (Issue #5270)
0fea1812
MS
241- Kerberized printing to another CUPS server did not work correctly
242 (Issue #5233)
e6062e8e 243- Fixed printing to some IPP Everywhere printers (Issue #5238)
ab89234d 244- Fixed installation of filters (Issue #5247)
19186c8b
MS
245- The scheduler now supports using temporary print queues for older IPP/1.1
246 print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
c6dbbca1
MS
247- Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
248- Documentation fixes (Issue #5252)
3cd7b5e0 249- Fixed a compile issue when PAM is not available (Issue #5253)
c6dbbca1
MS
250- Label printers supported by the rastertolabel driver don't support SNMP, so
251 don't delay printing to test it (Issue #5256)
ca75cc13 252- The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
c6dbbca1
MS
253- The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
254 (Issue #5259)
0dfe6990
MS
255- Systemd did not restart cupsd when configuration changes were made that
256 required a restart (Issue #5263)
8aecb229
MS
257- The IPP Everywhere PPD generator did not include the `cupsJobPassword`
258 keyword, when supported (Issue #5265)
6a76f435 259- Fixed an Avahi crash bug in the scheduler (Issue #5268)
003c1790 260- Raw print queues are now deprecated (Issue #5269)
b056061b 261- Fixed an RPM packaging problem (Issue #5276)
fe1a4305 262- The IPP backend did not properly detect failed PDF prints (rdar://34055474)
eb61cb5b 263- TLS connections now properly timeout (rdar://34938533)
0bb02bfa
MS
264- Temp files could not be created in some sandboxed applications
265 (rdar://37789645)
c64170e5
MS
266- The ipptool `--ippserver` option did not encode out-of-band attributes
267 correctly.
c65e1c4f
MS
268- Added public `cupsEncodeOption` API for encoding a single option as an IPP
269 attribute.
0fb02fb9
MS
270- Removed support for the `-D_PPD_DEPRECATED=""` developer cheat - the PPD API
271 should no longer be used.
272- Removed support for `-D_IPP_PRIVATE_STRUCTURES=1` developer cheat - the IPP
273 accessor functions should be used instead.
ab89234d
MS
274
275
c283f46d
MS
276Changes in CUPS v2.3b3
277----------------------
278
f6e7a0c5 279- More fixes for printing to old CUPS servers (Issue #5211)
c283f46d
MS
280- The IPP Everywhere PPD generator did not support deep grayscale or 8-bit per
281 component AdobeRGB (Issue #5227)
092db1e2
MS
282- Additional changes for the scheduler to substitute default values for invalid
283 job attributes when running in "relaxed conformance" mode (Issue #5229)
f6e7a0c5 284- Localization changes (Issue #5232, rdar://37068158)
22974c5f
MS
285- The `cupsCopyDestInfo` function did not work with all print queues
286 (Issue #5235)
c283f46d 287
bea37134 288
e1613057
MS
289Changes in CUPS v2.3b2
290----------------------
291
ead6e488
MS
292- Localization changes (Issue #5210)
293- Build fixes (Issue #5217)
a8b28f18 294- IPP Everywhere PPDs were not localized to English (Issue #5205)
625bb9de
MS
295- The `cupsGetDests` and `cupsEnumDests` functions no longer filter out local
296 print services like IPP USB devices (Issue #5206)
3145b7e6
MS
297- The `cupsCopyDest` function now correctly copies the `is_default` value
298 (Issue #5208)
6a3d63e6 299- Printing to old CUPS servers has been fixed (Issue #5211)
e1613057 300- The `ppdInstallableConflict` tested too many constraints (Issue #5213)
378eeedf
MS
301- All HTTP field values can now be longer than `HTTP_MAX_VALUE` bytes
302 (Issue #5216)
43bcc47b 303- Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
7c91db71
MS
304- The `cupsRasterWritePixels` function did not correctly swap bytes for some
305 formats (Issue #5225)
117bf0d1 306- Fixed an issue with mapping finishing options (rdar://34250727)
4ef3ee37
MS
307- The `ppdLocalizeIPPReason` function incorrectly returned a localized version
308 of "none" (rdar://36566269)
c4faa907
MS
309- The scheduler did not add ".local" to the default DNS-SD host name when
310 needed.
e1613057
MS
311
312
11143dcf 313Changes in CUPS v2.3b1
bea37134
MS
314----------------------
315
e3101897 316- CUPS is now provided under the Apache License, Version 2.0.
67091b1b 317- Documentation updates (Issue #4580, Issue #5177, Issue #5192)
336b669e
MS
318- The `cupsCopyDestConflicts` function now handles collection attribute
319 ("media-col", "finishings-col", etc.) constraints (Issue #4096)
42a5ae2a 320- The `lpoptions` command incorrectly saved default options (Issue #4717)
d6db9ea1 321- The `lpstat` command now reports when new jobs are being held (Issue #4761)
d5621649
MS
322- The `ippfind` command now supports finding printers whose name starts with an
323 underscore (Issue #4833)
7ec11630
MS
324- The CUPS library now supports the latest HTTP Digest authentication
325 specification including support for SHA-256 (Issue #4862)
409f5497 326- The scheduler now supports the "printer-id" attribute (Issue #4868)
f1547f12
MS
327- No longer support backslash, question mark, or quotes in printer names
328 (Issue #4966)
3d468ced
MS
329- The scheduler no longer logs pages as they are printed, instead just logging
330 a total of the pages printed at job completion (Issue #4991)
b00c8409 331- Dropped RSS subscription management from the web interface (Issue #5012)
c5d2b233
MS
332- Bonjour printer sharing now uses the DNS-SD hostname (or ServerName value if
333 none is defined) when registering shared printers on the network (Issue #5071)
6646208b
MS
334- The `ipptool` command now supports writing `ippserver` attributes files
335 (Issue #5093)
d6db9ea1
MS
336- The `lp` and `lpr` commands now provide better error messages when the default
337 printer cannot be found (Issue #5096)
338- The `lpadmin` command now provides a better error message when an unsupported
d0df9cd3 339 System V interface script is used (Issue #5111)
eb2cb9b0
MS
340- The scheduler did not write out dirty configuration and state files if there
341 were open client connections (Issue #5118)
8f1fbdec
MS
342- The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
343 control the minimum and maximum TLS versions that will be allowed,
344 respectively (Issue #5119)
b00c8409 345- Dropped hard-coded CGI scripting language support (Issue #5124)
c5f5c5a7
MS
346- The `cupsEnumDests` function did not include options from the lpoptions
347 files (Issue #5144)
d6db9ea1 348- Fixed the `ippserver` sample code when threading is disabled or unavailable
98491ecc 349 (Issue #5154)
0e743fdf
MS
350- Added label markup to checkbox and radio button controls in the web interface
351 templates (Issue #5161)
da9ffe23 352- Fixed group validation on OpenBSD (Issue #5166)
71dc43af
MS
353- Improved IPP Everywhere media support, including a new
354 `cupsAddDestMediaOptions` function (Issue #5167)
89550f3f
MS
355- IPP Everywhere PPDs now include localizations of printer-specific media types,
356 when available (Issue #5168)
7f9a23b9
MS
357- The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
358 was seen (Issue #5170)
cfa8aa69 359- IPP Everywhere PPDs now support IPP job presets (Issue #5179)
4f63d6cd 360- IPP Everywhere PPDs now support finishing templates (Issue #5180)
7e382613 361- Fixed a journald support bug in the scheduler (Issue #5181)
ac05c630
MS
362- Fixed PAM module detection and added support for the common PAM definitions
363 (Issue #5185)
6d14c1bb
MS
364- The scheduler now substitutes default values for invalid job attributes when
365 running in "relaxed conformance" mode (Issue #5186)
9e44dfbe 366- The scheduler did not work with older versions of uClibc (Issue #5188)
2fa1ba3c
MS
367- The scheduler now generates a strings file for localizing PPD options
368 (Issue #5194)