]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - CHANGES.md
Fix memory leak in ppdOpen.
[thirdparty/cups.git] / CHANGES.md
... / ...
CommitLineData
1CHANGES - 2.3.0 - 2019-07-16
2============================
3
4
5Changes in CUPS v2.3.0
6----------------------
7
8- Documentation updates (Issue #5604)
9- Fixed a bug in the scheduler job cleanup code (Issue #5588)
10- Fixed builds when there is no TLS library (Issue #5590)
11- Eliminated some new GCC compiler warnings (Issue #5591)
12- Removed dead code from the scheduler (Issue #5593)
13- "make" failed with GZIP options (Issue #5595)
14- Fixed potential excess logging from the scheduler when removing job files
15 (Issue #5597)
16- Fixed a NULL pointer dereference bug in `httpGetSubField2` (Issue #5598)
17- The scheduler no longer provides a default value for the description
18 (Issue #5603)
19- The scheduler now logs jobs held for authentication using the error level so
20 it is clear what happened (Issue #5604)
21- The `lpadmin` command did not always update the PPD file for changes to the
22 `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
23- The scheduler now uses both the group's membership list as well as the
24 various OS-specific membership functions to determine whether a user belongs
25 to a named group (Issue #5613)
26- Fixed an issue with unsupported "sides" values in the IPP backend
27 (rdar://51775322)
28- The scheduler would restart continuously when idle and printers were not
29 shared (rdar://52561199)
30- Fixed an issue with `EXPECT !name WITH-VALUE ...` tests.
31- Fixed a command ordering issue in the Zebra ZPL driver.
32- Fixed a memory leak in `ppdOpen`.
33
34
35Changes in CUPS v2.3rc1
36-----------------------
37
38- The `cups-config` script no longer adds extra libraries when linking against
39 shared libraries (Issue #5261)
40- The supplied example print documents have been optimized for size
41 (Issue #5529)
42- The `cupsctl` command now prevents setting "cups-files.conf" directives
43 (Issue #5530)
44- The "forbidden" message in the web interface is now explained (Issue #5547)
45- The footer in the web interface covered some content on small displays
46 (Issue #5574)
47- The libusb-based USB backend now enforces read limits, improving print speed
48 in many cases (Issue #5583)
49- The `ippeveprinter` command now looks for print commands in the "command"
50 subdirectory.
51- The `ipptool` command now supports `$date-current` and `$date-start` variables
52 to insert the current and starting date and time values, as well as ISO-8601
53 relative time values such as "PT30S" for 30 seconds in the future.
54
55
56Changes in CUPS v2.3b8
57----------------------
58
59- Media size matching now uses a tolerance of 0.5mm (rdar://33822024)
60- The lpadmin command would hang with a bad PPD file (rdar://41495016)
61- Fixed a potential crash bug in cups-driverd (rdar://46625579)
62- Fixed a performance regression with large PPDs (rdar://47040759)
63- Fixed a memory reallocation bug in HTTP header value expansion
64 (rdar://problem/50000749)
65- Timed out job submission now yields an error (Issue #5570)
66- Restored minimal support for the `Emulators` keyword in PPD files to allow
67 old Samsung printer drivers to continue to work (Issue #5562)
68- The scheduler did not encode octetString values like "job-password" correctly
69 for the print filters (Issue #5558)
70- The `cupsCheckDestSupported` function did not check octetString values
71 correctly (Issue #5557)
72- Added support for `UserAgentTokens` directive in "client.conf" (Issue #5555)
73- Updated the systemd service file for cupsd (Issue #5551)
74- The `ippValidateAttribute` function did not catch all instances of invalid
75 UTF-8 strings (Issue #5509)
76- Fixed an issue with the self-signed certificates generated by GNU TLS
77 (Issue #5506)
78- Fixed a potential memory leak when reading at the end of a file (Issue #5473)
79- Fixed potential unaligned accesses in the string pool (Issue #5474)
80- Fixed a potential memory leak when loading a PPD file (Issue #5475)
81- Added a USB quirks rule for the Lexmark E120n (Issue #5478)
82- Updated the USB quirks rule for Zebra label printers (Issue #5395)
83- Fixed a compile error on Linux (Issue #5483)
84- The lpadmin command, web interface, and scheduler all queried an IPP
85 Everywhere printer differently, resulting in different PPDs for the same
86 printer (Issue #5484)
87- The web interface no longer provides access to the log files (Issue #5513)
88- Non-Kerberized printing to Windows via IPP was broken (Issue #5515)
89- Eliminated use of private headers and some deprecated macOS APIs (Issue #5516)
90- The scheduler no longer stops a printer if an error occurs when a job is
91 canceled or aborted (Issue #5517)
92- Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
93- Added a USB quirks rule for Xerox printers (Issue #5523)
94- The scheduler's self-signed certificate did not include all of the alternate
95 names for the server when using GNU TLS (Issue #5525)
96- Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533)
97- Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
98 (Issue #5535)
99- Fixed `PreserveJobHistory` bug with time values (Issue #5538)
100- The scheduler no longer advertises the HTTP methods it supports (Issue #5540)
101- Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486,
102 Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495,
103 Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504)
104- The scheduler did not always idle exit as quickly as it could.
105- Added a new `ippeveprinter` command based on the old ippserver sample code.
106
107
108Changes in CUPS v2.3b7
109----------------------
110
111- Fixed some build failures (Issue #5451, Issue #5463)
112- Running ppdmerge with the same input and output filenames did not work as
113 advertised (Issue #5455)
114
115
116Changes in CUPS v2.3b6
117----------------------
118
119- Localization update (Issue #5339, Issue #5348, Issue #5362, Issue #5408,
120 Issue #5410)
121- Documentation updates (Issue #5369, Issue #5402, Issue #5403, Issue #5404)
122- CVE-2018-4300: Linux session cookies used a predictable random number seed.
123- All user commands now support the `--help` option (Issue #5326)
124- The `lpoptions` command now works with IPP Everywhere printers that have not
125 yet been added as local queues (Issue #5045)
126- The lpadmin command would create a non-working printer in some error cases
127 (Issue #5305)
128- The scheduler would crash if an empty `AccessLog` directive was specified
129 (Issue #5309)
130- The scheduler did not idle-exit on some Linux distributions (Issue #5319)
131- Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
132 Issue #5330)
133- Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
134- Automatic debug logging of job errors did not work with systemd (Issue #5337)
135- The web interface did not list the IPP Everywhere "driver" (Issue #5338)
136- The scheduler did not report all of the supported job options and values
137 (Issue #5340)
138- The IPP Everywhere "driver" now properly supports face-up printers
139 (Issue #5345)
140- Fixed some typos in the label printer drivers (Issue #5350)
141- Setting the `Community` name to the empty string in `snmp.conf` now disables
142 SNMP supply level monitoring by all the standard network backends
143 (Issue #5354)
144- Multi-file jobs could get stuck if the backend failed (Issue #5359,
145 Issue #5413)
146- The IPP Everywhere "driver" no longer does local filtering when printing to
147 a shared CUPS printer (Issue #5361)
148- The lpadmin command now correctly reports IPP errors when configuring an
149 IPP Everywhere printer (Issue #5370)
150- Fixed some memory leaks discovered by Coverity (Issue #5375)
151- The PPD compiler incorrectly terminated JCL options (Issue #5379)
152- The cupstestppd utility did not generate errors for missing/mismatched
153 CloseUI/JCLCloseUI keywords (Issue #5381)
154- The scheduler now reports the actual location of the log file (Issue #5398)
155- Added USB quirk rules (Issue #5395, Issue #5420, Issue #5443)
156- The generated PPD files for IPP Everywhere printers did not contain the
157 cupsManualCopies keyword (Issue #5433)
158- Kerberos credentials might be truncated (Issue #5435)
159- The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
160- Fixed a bug adding a queue with the `-E` option (Issue #5440)
161- The `cupsaddsmb` program has been removed (Issue #5449)
162- The `cupstestdsc` program has been removed (Issue #5450)
163- The scheduler was being backgrounded on macOS, causing applications to spin
164 (rdar://40436080)
165- The scheduler did not validate that required initial request attributes were
166 in the operation group (rdar://41098178)
167- Authentication in the web interface did not work on macOS (rdar://41444473)
168- Fixed an issue with HTTP Digest authentication (rdar://41709086)
169- The scheduler could crash when job history was purged (rdar://42198057)
170- Fixed a crash bug when mapping PPD duplex options to IPP attributes
171 (rdar://46183976)
172- Fixed a memory leak for some IPP (extension) syntaxes.
173- The `cupscgi`, `cupsmime`, and `cupsppdc` support libraries are no longer
174 installed as shared libraries.
175- The `snmp` backend is now deprecated.
176
177
178Changes in CUPS v2.3b5
179----------------------
180
181- The `ipptool` program no longer checks for duplicate attributes when running
182 in list or CSV mode (Issue #5278)
183- The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use
184 the supplied HTTP connection (Issue #5288)
185- Fixed another crash in the scheduler when adding an IPP Everywhere printer
186 (Issue #5290)
187- Added a workaround for certain web browsers that do not support multiple
188 authentication schemes in a single response header (Issue #5289)
189- Fixed policy limits containing the `All` operation (Issue #5296)
190- The scheduler was always restarted after idle-exit with systemd (Issue #5297)
191- Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310)
192- The mailto notifier did not wait for the welcome message (Issue #5312)
193- Fixed a parsing bug in the pstops filter (Issue #5321)
194- Documentation updates (Issue #5299, Issue #5301, Issue #5306)
195- Localization updates (Issue #5317)
196- The scheduler allowed environment variables to be specified in the
197 `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252,
198 rdar://37837581)
199- Fax queues did not support pause (p) or wait-for-dialtone (w) characters
200 (rdar://39212256)
201- The scheduler did not validate notify-recipient-uri values properly
202 (rdar://40068936)
203- The IPP parser allowed invalid group tags (rdar://40442124)
204- Fixed a parsing bug in the new authentication code.
205
206
207Changes in CUPS v2.3b4
208----------------------
209
210- NOTICE: Printer drivers are now deprecated (Issue #5270)
211- Kerberized printing to another CUPS server did not work correctly
212 (Issue #5233)
213- Fixed printing to some IPP Everywhere printers (Issue #5238)
214- Fixed installation of filters (Issue #5247)
215- The scheduler now supports using temporary print queues for older IPP/1.1
216 print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
217- Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
218- Documentation fixes (Issue #5252)
219- Fixed a compile issue when PAM is not available (Issue #5253)
220- Label printers supported by the rastertolabel driver don't support SNMP, so
221 don't delay printing to test it (Issue #5256)
222- The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
223- The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
224 (Issue #5259)
225- Systemd did not restart cupsd when configuration changes were made that
226 required a restart (Issue #5263)
227- The IPP Everywhere PPD generator did not include the `cupsJobPassword`
228 keyword, when supported (Issue #5265)
229- Fixed an Avahi crash bug in the scheduler (Issue #5268)
230- Raw print queues are now deprecated (Issue #5269)
231- Fixed an RPM packaging problem (Issue #5276)
232- The IPP backend did not properly detect failed PDF prints (rdar://34055474)
233- TLS connections now properly timeout (rdar://34938533)
234- Temp files could not be created in some sandboxed applications
235 (rdar://37789645)
236- The ipptool `--ippserver` option did not encode out-of-band attributes
237 correctly.
238- Added public `cupsEncodeOption` API for encoding a single option as an IPP
239 attribute.
240- Removed support for the `-D_PPD_DEPRECATED=""` developer cheat - the PPD API
241 should no longer be used.
242- Removed support for `-D_IPP_PRIVATE_STRUCTURES=1` developer cheat - the IPP
243 accessor functions should be used instead.
244
245
246Changes in CUPS v2.3b3
247----------------------
248
249- More fixes for printing to old CUPS servers (Issue #5211)
250- The IPP Everywhere PPD generator did not support deep grayscale or 8-bit per
251 component AdobeRGB (Issue #5227)
252- Additional changes for the scheduler to substitute default values for invalid
253 job attributes when running in "relaxed conformance" mode (Issue #5229)
254- Localization changes (Issue #5232, rdar://37068158)
255- The `cupsCopyDestInfo` function did not work with all print queues
256 (Issue #5235)
257
258
259Changes in CUPS v2.3b2
260----------------------
261
262- Localization changes (Issue #5210)
263- Build fixes (Issue #5217)
264- IPP Everywhere PPDs were not localized to English (Issue #5205)
265- The `cupsGetDests` and `cupsEnumDests` functions no longer filter out local
266 print services like IPP USB devices (Issue #5206)
267- The `cupsCopyDest` function now correctly copies the `is_default` value
268 (Issue #5208)
269- Printing to old CUPS servers has been fixed (Issue #5211)
270- The `ppdInstallableConflict` tested too many constraints (Issue #5213)
271- All HTTP field values can now be longer than `HTTP_MAX_VALUE` bytes
272 (Issue #5216)
273- Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
274- The `cupsRasterWritePixels` function did not correctly swap bytes for some
275 formats (Issue #5225)
276- Fixed an issue with mapping finishing options (rdar://34250727)
277- The `ppdLocalizeIPPReason` function incorrectly returned a localized version
278 of "none" (rdar://36566269)
279- The scheduler did not add ".local" to the default DNS-SD host name when
280 needed.
281
282
283Changes in CUPS v2.3b1
284----------------------
285
286- CUPS is now provided under the Apache License, Version 2.0.
287- Documentation updates (Issue #4580, Issue #5177, Issue #5192)
288- The `cupsCopyDestConflicts` function now handles collection attribute
289 ("media-col", "finishings-col", etc.) constraints (Issue #4096)
290- The `lpoptions` command incorrectly saved default options (Issue #4717)
291- The `lpstat` command now reports when new jobs are being held (Issue #4761)
292- The `ippfind` command now supports finding printers whose name starts with an
293 underscore (Issue #4833)
294- The CUPS library now supports the latest HTTP Digest authentication
295 specification including support for SHA-256 (Issue #4862)
296- The scheduler now supports the "printer-id" attribute (Issue #4868)
297- No longer support backslash, question mark, or quotes in printer names
298 (Issue #4966)
299- The scheduler no longer logs pages as they are printed, instead just logging
300 a total of the pages printed at job completion (Issue #4991)
301- Dropped RSS subscription management from the web interface (Issue #5012)
302- Bonjour printer sharing now uses the DNS-SD hostname (or ServerName value if
303 none is defined) when registering shared printers on the network (Issue #5071)
304- The `ipptool` command now supports writing `ippserver` attributes files
305 (Issue #5093)
306- The `lp` and `lpr` commands now provide better error messages when the default
307 printer cannot be found (Issue #5096)
308- The `lpadmin` command now provides a better error message when an unsupported
309 System V interface script is used (Issue #5111)
310- The scheduler did not write out dirty configuration and state files if there
311 were open client connections (Issue #5118)
312- The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
313 control the minimum and maximum TLS versions that will be allowed,
314 respectively (Issue #5119)
315- Dropped hard-coded CGI scripting language support (Issue #5124)
316- The `cupsEnumDests` function did not include options from the lpoptions
317 files (Issue #5144)
318- Fixed the `ippserver` sample code when threading is disabled or unavailable
319 (Issue #5154)
320- Added label markup to checkbox and radio button controls in the web interface
321 templates (Issue #5161)
322- Fixed group validation on OpenBSD (Issue #5166)
323- Improved IPP Everywhere media support, including a new
324 `cupsAddDestMediaOptions` function (Issue #5167)
325- IPP Everywhere PPDs now include localizations of printer-specific media types,
326 when available (Issue #5168)
327- The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
328 was seen (Issue #5170)
329- IPP Everywhere PPDs now support IPP job presets (Issue #5179)
330- IPP Everywhere PPDs now support finishing templates (Issue #5180)
331- Fixed a journald support bug in the scheduler (Issue #5181)
332- Fixed PAM module detection and added support for the common PAM definitions
333 (Issue #5185)
334- The scheduler now substitutes default values for invalid job attributes when
335 running in "relaxed conformance" mode (Issue #5186)
336- The scheduler did not work with older versions of uClibc (Issue #5188)
337- The scheduler now generates a strings file for localizing PPD options
338 (Issue #5194)