-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperl5142delta.html
225 lines (138 loc) · 10.3 KB
/
perl5142delta.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
<?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>perl5142delta - what is new for perl v5.14.2</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="#File::Glob::bsd_glob-memory-error-with-GLOB_ALTDIRFUNC-CVE-2011-2728">File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).</a></li>
<li><a href="#Encode-decode_xs-n-byte-heap-overflow-CVE-2011-2939">Encode decode_xs n-byte heap-overflow (CVE-2011-2939)</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="#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="#Known-Problems">Known Problems</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>perl5142delta - what is new for perl v5.14.2</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.14.1 release and the 5.14.2 release.</p>
<p>If you are upgrading from an earlier release such as 5.14.0, first read <a href="/cperl/perl5141delta.html">perl5141delta</a>, which describes differences between 5.14.0 and 5.14.1.</p>
<h1 id="Core-Enhancements">Core Enhancements</h1>
<p>No changes since 5.14.0.</p>
<h1 id="Security">Security</h1>
<h2 id="File::Glob::bsd_glob-memory-error-with-GLOB_ALTDIRFUNC-CVE-2011-2728"><code>File::Glob::bsd_glob()</code> memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).</h2>
<p>Calling <code>File::Glob::bsd_glob</code> with the unsupported flag GLOB_ALTDIRFUNC would cause an access violation / segfault. A Perl program that accepts a flags value from an external source could expose itself to denial of service or arbitrary code execution attacks. There are no known exploits in the wild. The problem has been corrected by explicitly disabling all unsupported flags and setting unused function pointers to null. Bug reported by Clément Lecigne.</p>
<h2 id="Encode-decode_xs-n-byte-heap-overflow-CVE-2011-2939"><code>Encode</code> decode_xs n-byte heap-overflow (CVE-2011-2939)</h2>
<p>A bug in <code>Encode</code> could, on certain inputs, cause the heap to overflow. This problem has been corrected. Bug reported by Robert Zacek.</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/CPAN.html">CPAN</a> has been upgraded from version 1.9600 to version 1.9600_01.</p>
<p><a>CPAN::Distribution</a> has been upgraded from version 1.9602 to 1.9602_01.</p>
<p>Backported bugfixes from CPAN version 1.9800. Ensures proper detection of <code>configure_requires</code> prerequisites from CPAN Meta files in the case where <code>dynamic_config</code> is true. [rt.cpan.org #68835]</p>
<p>Also ensures that <code>configure_requires</code> is only checked in META files, not MYMETA files, so protect against MYMETA generation that drops <code>configure_requires</code>.</p>
</li>
<li><p><a href="/cperl/lib/Encode.html">Encode</a> has been upgraded from version 2.42 to 2.42_01.</p>
<p>See <a href="#Security">"Security"</a>.</p>
</li>
<li><p><a href="/cperl/lib/File/Glob.html">File::Glob</a> has been upgraded from version 1.12 to version 1.13.</p>
<p>See <a href="#Security">"Security"</a>.</p>
</li>
<li><p><a href="/cperl/lib/PerlIO/scalar.html">PerlIO::scalar</a> has been upgraded from version 0.11 to 0.11_01.</p>
<p>It fixes a problem with <code>open my $fh, ">", \$scalar</code> not working if <code>$scalar</code> is a copy-on-write scalar.</p>
</li>
</ul>
<h2 id="Removed-Modules-and-Pragmata">Removed Modules and Pragmata</h2>
<p>None</p>
<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="HP-UX-PA-RISC-64-now-supports-gcc-4.x">HP-UX PA-RISC/64 now supports gcc-4.x</dt>
<dd>
<p>A fix to correct the socketsize now makes the test suite pass on HP-UX PA-RISC for 64bitall builds.</p>
</dd>
<dt id="Building-on-OS-X-10.7-Lion-and-Xcode-4-works-again">Building on OS X 10.7 Lion and Xcode 4 works again</dt>
<dd>
<p>The build system has been updated to work with the build tools under Mac OS X 10.7.</p>
</dd>
</dl>
<h1 id="Bug-Fixes">Bug Fixes</h1>
<ul>
<li><p>In @INC filters (subroutines returned by subroutines in @INC), $_ used to misbehave: If returned from a subroutine, it would not be copied, but the variable itself would be returned; and freeing $_ (e.g., with <code>undef *_</code>) would cause perl to crash. This has been fixed [perl #91880].</p>
</li>
<li><p>Perl 5.10.0 introduced some faulty logic that made "U*" in the middle of a pack template equivalent to "U0" if the input string was empty. This has been fixed [perl #90160].</p>
</li>
<li><p><code>caller</code> no longer leaks memory when called from the DB package if <code>@DB::args</code> was assigned to after the first call to <code>caller</code>. <a href="/cperl/lib/Carp.html">Carp</a> was triggering this bug [perl #97010].</p>
</li>
<li><p><code>utf8::decode</code> had a nasty bug that would modify copy-on-write scalars' string buffers in place (i.e., skipping the copy). This could result in hashes having two elements with the same key [perl #91834].</p>
</li>
<li><p>Localising a tied variable used to make it read-only if it contained a copy-on-write string.</p>
</li>
<li><p>Elements of restricted hashes (see the <a href="/cperl/lib/fields.html">fields</a> pragma) containing copy-on-write values couldn't be deleted, nor could such hashes be cleared (<code>%hash = ()</code>).</p>
</li>
<li><p>Locking a hash element that is a glob copy no longer causes subsequent assignment to it to corrupt the glob.</p>
</li>
<li><p>A panic involving the combination of the regular expression modifiers <code>/aa</code> introduced in 5.14.0 and the <code>\b</code> escape sequence has been fixed [perl #95964].</p>
</li>
</ul>
<h1 id="Known-Problems">Known Problems</h1>
<p>This is a list of some significant unfixed bugs, which are regressions from 5.12.0.</p>
<ul>
<li><p><code>PERL_GLOBAL_STRUCT</code> is broken.</p>
<p>Since perl 5.14.0, building with <code>-DPERL_GLOBAL_STRUCT</code> hasn't been possible. This means that perl currently doesn't work on any platforms that require it to be built this way, including Symbian.</p>
<p>While <code>PERL_GLOBAL_STRUCT</code> now works again on recent development versions of perl, it actually working on Symbian again hasn't been verified.</p>
<p>We'd be very interested in hearing from anyone working with Perl on Symbian.</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.14.2 represents approximately three months of development since Perl 5.14.1 and contains approximately 1200 lines of changes across 61 files from 9 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.2:</p>
<p>Craig A. Berry, David Golden, Father Chrysostomos, Florian Ragwitz, H.Merijn Brand, Karl Williamson, Nicholas Clark, Pau Amma and Ricardo Signes.</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>