-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperl5143delta.html
283 lines (178 loc) · 11.6 KB
/
perl5143delta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>perl5143delta - what is new for perl v5.14.3</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:[email protected]" />
</head>
<body>
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#Core-Enhancements">Core Enhancements</a></li>
<li><a href="#Security">Security</a>
<ul>
<li><a href="#Digest-unsafe-use-of-eval-CVE-2011-3597">Digest unsafe use of eval (CVE-2011-3597)</a></li>
<li><a href="#Heap-buffer-overrun-in-x-string-repeat-operator-CVE-2012-5195">Heap buffer overrun in 'x' string repeat operator (CVE-2012-5195)</a></li>
</ul>
</li>
<li><a href="#Incompatible-Changes">Incompatible Changes</a></li>
<li><a href="#Deprecations">Deprecations</a></li>
<li><a href="#Modules-and-Pragmata">Modules and Pragmata</a>
<ul>
<li><a href="#New-Modules-and-Pragmata">New Modules and Pragmata</a></li>
<li><a href="#Updated-Modules-and-Pragmata">Updated Modules and Pragmata</a></li>
<li><a href="#Removed-Modules-and-Pragmata">Removed Modules and Pragmata</a></li>
</ul>
</li>
<li><a href="#Documentation">Documentation</a>
<ul>
<li><a href="#New-Documentation">New Documentation</a></li>
<li><a href="#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
<ul>
<li><a href="#perlcheat">perlcheat</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#Configuration-and-Compilation">Configuration and Compilation</a></li>
<li><a href="#Platform-Support">Platform Support</a>
<ul>
<li><a href="#New-Platforms">New Platforms</a></li>
<li><a href="#Discontinued-Platforms">Discontinued Platforms</a></li>
<li><a href="#Platform-Specific-Notes">Platform-Specific Notes</a></li>
</ul>
</li>
<li><a href="#Bug-Fixes">Bug Fixes</a></li>
<li><a href="#Acknowledgements">Acknowledgements</a></li>
<li><a href="#Reporting-Bugs">Reporting Bugs</a></li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>perl5143delta - what is new for perl v5.14.3</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.14.2 release and the 5.14.3 release.</p>
<p>If you are upgrading from an earlier release such as 5.12.0, first read <a href="/cperl/perl5140delta.html">perl5140delta</a>, which describes differences between 5.12.0 and 5.14.0.</p>
<h1 id="Core-Enhancements">Core Enhancements</h1>
<p>No changes since 5.14.0.</p>
<h1 id="Security">Security</h1>
<h2 id="Digest-unsafe-use-of-eval-CVE-2011-3597"><code>Digest</code> unsafe use of eval (CVE-2011-3597)</h2>
<p>The <code>Digest->new()</code> function did not properly sanitize input before using it in an eval() call, which could lead to the injection of arbitrary Perl code.</p>
<p>In order to exploit this flaw, the attacker would need to be able to set the algorithm name used, or be able to execute arbitrary Perl code already.</p>
<p>This problem has been fixed.</p>
<h2 id="Heap-buffer-overrun-in-x-string-repeat-operator-CVE-2012-5195">Heap buffer overrun in 'x' string repeat operator (CVE-2012-5195)</h2>
<p>Poorly written perl code that allows an attacker to specify the count to perl's 'x' string repeat operator can already cause a memory exhaustion denial-of-service attack. A flaw in versions of perl before 5.15.5 can escalate that into a heap buffer overrun; coupled with versions of glibc before 2.16, it possibly allows the execution of arbitrary code.</p>
<p>This problem has been fixed.</p>
<h1 id="Incompatible-Changes">Incompatible Changes</h1>
<p>There are no changes intentionally incompatible with 5.14.0. If any exist, they are bugs and reports are welcome.</p>
<h1 id="Deprecations">Deprecations</h1>
<p>There have been no deprecations since 5.14.0.</p>
<h1 id="Modules-and-Pragmata">Modules and Pragmata</h1>
<h2 id="New-Modules-and-Pragmata">New Modules and Pragmata</h2>
<p>None</p>
<h2 id="Updated-Modules-and-Pragmata">Updated Modules and Pragmata</h2>
<ul>
<li><p><a href="/cperl/lib/PerlIO/scalar.html">PerlIO::scalar</a> was updated to fix a bug in which opening a filehandle to a glob copy caused assertion failures (under debugging) or hangs or other erratic behaviour without debugging.</p>
</li>
<li><p><a>ODBM_File</a> and <a href="/cperl/lib/Memoize/NDBM_File.html">NDBM_File</a> were updated to allow building on GNU/Hurd.</p>
</li>
<li><p><a href="/cperl/lib/IPC/Open3.html">IPC::Open3</a> has been updated to fix a regression introduced in perl 5.12, which broke <code>IPC::Open3::open3($in, $out, $err, '-')</code>. [perl #95748]</p>
</li>
<li><p><a href="/cperl/lib/Digest.html">Digest</a> has been upgraded from version 1.16 to 1.16_01.</p>
<p>See <a href="#Security">"Security"</a>.</p>
</li>
<li><p><a href="/cperl/lib/Module/CoreList.html">Module::CoreList</a> has been updated to version 2.49_04 to add data for this release.</p>
</li>
</ul>
<h2 id="Removed-Modules-and-Pragmata">Removed Modules and Pragmata</h2>
<p>None</p>
<h1 id="Documentation">Documentation</h1>
<h2 id="New-Documentation">New Documentation</h2>
<p>None</p>
<h2 id="Changes-to-Existing-Documentation">Changes to Existing Documentation</h2>
<h3 id="perlcheat"><a href="/cperl/perlcheat.html">perlcheat</a></h3>
<ul>
<li><p><a href="/cperl/perlcheat.html">perlcheat</a> was updated to 5.14.</p>
</li>
</ul>
<h1 id="Configuration-and-Compilation">Configuration and Compilation</h1>
<ul>
<li><p>h2ph was updated to search correctly gcc include directories on platforms such as Debian with multi-architecture support.</p>
</li>
<li><p>In Configure, the test for procselfexe was refactored into a loop.</p>
</li>
</ul>
<h1 id="Platform-Support">Platform Support</h1>
<h2 id="New-Platforms">New Platforms</h2>
<p>None</p>
<h2 id="Discontinued-Platforms">Discontinued Platforms</h2>
<p>None</p>
<h2 id="Platform-Specific-Notes">Platform-Specific Notes</h2>
<dl>
<dt id="FreeBSD">FreeBSD</dt>
<dd>
<p>The FreeBSD hints file was corrected to be compatible with FreeBSD 10.0.</p>
</dd>
<dt id="Solaris-and-NetBSD">Solaris and NetBSD</dt>
<dd>
<p>Configure was updated for "procselfexe" support on Solaris and NetBSD.</p>
</dd>
<dt id="HP-UX">HP-UX</dt>
<dd>
<p>README.hpux was updated to note the existence of a broken header in HP-UX 11.00.</p>
</dd>
<dt id="Linux">Linux</dt>
<dd>
<p>libutil is no longer used when compiling on Linux platforms, which avoids warnings being emitted.</p>
<p>The system gcc (rather than any other gcc which might be in the compiling user's path) is now used when searching for libraries such as <code>-lm</code>.</p>
</dd>
<dt id="Mac-OS-X">Mac OS X</dt>
<dd>
<p>The locale tests were updated to reflect the behaviour of locales in Mountain Lion.</p>
</dd>
<dt id="GNU-Hurd">GNU/Hurd</dt>
<dd>
<p>Various build and test fixes were included for GNU/Hurd.</p>
<p>LFS support was enabled in GNU/Hurd.</p>
</dd>
<dt id="NetBSD">NetBSD</dt>
<dd>
<p>The NetBSD hints file was corrected to be compatible with NetBSD 6.*</p>
</dd>
</dl>
<h1 id="Bug-Fixes">Bug Fixes</h1>
<ul>
<li><p>A regression has been fixed that was introduced in 5.14, in <code>/i</code> regular expression matching, in which a match improperly fails if the pattern is in UTF-8, the target string is not, and a Latin-1 character precedes a character in the string that should match the pattern. [perl #101710]</p>
</li>
<li><p>In case-insensitive regular expression pattern matching, no longer on UTF-8 encoded strings does the scan for the start of match only look at the first possible position. This caused matches such as <code>"f\x{FB00}" =~ /ff/i</code> to fail.</p>
</li>
<li><p>The sitecustomize support was made relocatableinc aware, so that -Dusesitecustomize and -Duserelocatableinc may be used together.</p>
</li>
<li><p>The smartmatch operator (<code>~~</code>) was changed so that the right-hand side takes precedence during <code>Any ~~ Object</code> operations.</p>
</li>
<li><p>A bug has been fixed in the tainting support, in which an <code>index()</code> operation on a tainted constant would cause all other constants to become tainted. [perl #64804]</p>
</li>
<li><p>A regression has been fixed that was introduced in perl 5.12, whereby tainting errors were not correctly propagated through <code>die()</code>. [perl #111654]</p>
</li>
<li><p>A regression has been fixed that was introduced in perl 5.14, in which <code>/[[:lower:]]/i</code> and <code>/[[:upper:]]/i</code> no longer matched the opposite case. [perl #101970]</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.14.3 represents approximately 12 months of development since Perl 5.14.2 and contains approximately 2,300 lines of changes across 64 files from 22 authors.</p>
<p>Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.14.3:</p>
<p>Abigail, Andy Dougherty, Carl Hayter, Chris 'BinGOs' Williams, Dave Rolsky, David Mitchell, Dominic Hargreaves, Father Chrysostomos, Florian Ragwitz, H.Merijn Brand, Jilles Tjoelker, Karl Williamson, Leon Timmermans, Michael G Schwern, Nicholas Clark, Niko Tyni, Pino Toscano, Ricardo Signes, Salvador Fandiño, Samuel Thibault, Steve Hay, Tony Cook.</p>
<p>The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.</p>
<p>Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.</p>
<p>For a more complete list of all of Perl's historical contributors, please see the <i>AUTHORS</i> file in the Perl source distribution.</p>
<h1 id="Reporting-Bugs">Reporting Bugs</h1>
<p>If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at http://rt.perl.org/perlbug/ . There may also be information at http://www.perl.org/ , the Perl Home Page.</p>
<p>If you believe you have an unreported bug, please run the <a>perlbug</a> program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of <code>perl -V</code>, will be sent off to [email protected] to be analysed by the Perl porting team.</p>
<p>If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to [email protected]. This points to a closed subscription unarchived mailing list, which includes all the core committers, who be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.</p>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p>The <i>Changes</i> file for an explanation of how to view exhaustive details on what changed.</p>
<p>The <i>INSTALL</i> file for how to build Perl.</p>
<p>The <i>README</i> file for general stuff.</p>
<p>The <i>Artistic</i> and <i>Copying</i> files for copyright information.</p>
</body>
</html>