Debian Codegraph @

upstream/debian-unstable/man1/perl5142delta.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\" ========================================================================
56 .\"
57 .IX Title "PERL5142DELTA 1"
58 .TH PERL5142DELTA 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide"
59 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
60 .\" way too many mistakes in technical documents.
61 .if n .ad l
62 .nh
63 .SH NAME
64 perl5142delta \- what is new for perl v5.14.2
65 .SH DESCRIPTION
66 .IX Header "DESCRIPTION"
67 This document describes differences between the 5.14.1 release and
68 the 5.14.2 release.
69 .PP
70 If you are upgrading from an earlier release such as 5.14.0, first read
71 perl5141delta, which describes differences between 5.14.0 and
72 5.14.1.
73 .SH "Core Enhancements"
74 .IX Header "Core Enhancements"
75 No changes since 5.14.0.
76 .SH Security
77 .IX Header "Security"
78 .ie n .SS "File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE\-2011\-2728)"
79 .el .SS "\f(CWFile::Glob::bsd_glob()\fP memory error with GLOB_ALTDIRFUNC (CVE\-2011\-2728)"
80 .IX Subsection "File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728)"
81 Calling \f(CW\*(C`File::Glob::bsd_glob\*(C'\fR with the unsupported flag GLOB_ALTDIRFUNC would
82 cause an access violation / segfault. A Perl program that accepts a flags value from
83 an external source could expose itself to denial of service or arbitrary code
84 execution attacks. There are no known exploits in the wild. The problem has been
85 corrected by explicitly disabling all unsupported flags and setting unused function
86 pointers to null. Bug reported by Clément Lecigne.
87 .ie n .SS """Encode"" decode_xs n\-byte heap-overflow (CVE\-2011\-2939)"
88 .el .SS "\f(CWEncode\fP decode_xs n\-byte heap-overflow (CVE\-2011\-2939)"
89 .IX Subsection "Encode decode_xs n-byte heap-overflow (CVE-2011-2939)"
90 A bug in \f(CW\*(C`Encode\*(C'\fR could, on certain inputs, cause the heap to overflow.
91 This problem has been corrected. Bug reported by Robert Zacek.
92 .SH "Incompatible Changes"
93 .IX Header "Incompatible Changes"
94 There are no changes intentionally incompatible with 5.14.0. If any
95 exist, they are bugs and reports are welcome.
96 .SH Deprecations
97 .IX Header "Deprecations"
98 There have been no deprecations since 5.14.0.
99 .SH "Modules and Pragmata"
100 .IX Header "Modules and Pragmata"
101 .SS "New Modules and Pragmata"
102 .IX Subsection "New Modules and Pragmata"
103 None
104 .SS "Updated Modules and Pragmata"
105 .IX Subsection "Updated Modules and Pragmata"
106 .IP \(bu 4
107 CPAN has been upgraded from version 1.9600 to version 1.9600_01.
108 .Sp
109 CPAN::Distribution has been upgraded from version 1.9602 to 1.9602_01.
110 .Sp
111 Backported bugfixes from CPAN version 1.9800. Ensures proper
112 detection of \f(CW\*(C`configure_requires\*(C'\fR prerequisites from CPAN Meta files
113 in the case where \f(CW\*(C`dynamic_config\*(C'\fR is true. [rt.cpan.org #68835]
114 .Sp
115 Also ensures that \f(CW\*(C`configure_requires\*(C'\fR is only checked in META files,
116 not MYMETA files, so protect against MYMETA generation that drops
117 \&\f(CW\*(C`configure_requires\*(C'\fR.
118 .IP \(bu 4
119 Encode has been upgraded from version 2.42 to 2.42_01.
120 .Sp
121 See "Security".
122 .IP \(bu 4
123 File::Glob has been upgraded from version 1.12 to version 1.13.
124 .Sp
125 See "Security".
126 .IP \(bu 4
127 PerlIO::scalar has been upgraded from version 0.11 to 0.11_01.
128 .Sp
129 It fixes a problem with \f(CW\*(C`open my $fh, ">", \e$scalar\*(C'\fR not working if
130 \&\f(CW$scalar\fR is a copy-on-write scalar.
131 .SS "Removed Modules and Pragmata"
132 .IX Subsection "Removed Modules and Pragmata"
133 None
134 .SH "Platform Support"
135 .IX Header "Platform Support"
136 .SS "New Platforms"
137 .IX Subsection "New Platforms"
138 None
139 .SS "Discontinued Platforms"
140 .IX Subsection "Discontinued Platforms"
141 None
142 .SS "Platform-Specific Notes"
143 .IX Subsection "Platform-Specific Notes"
144 .IP "HP-UX PA\-RISC/64 now supports gcc\-4.x" 4
145 .IX Item "HP-UX PA-RISC/64 now supports gcc-4.x"
146 A fix to correct the socketsize now makes the test suite pass on HP-UX
147 PA-RISC for 64bitall builds.
148 .IP "Building on OS X 10.7 Lion and Xcode 4 works again" 4
149 .IX Item "Building on OS X 10.7 Lion and Xcode 4 works again"
150 The build system has been updated to work with the build tools under Mac OS X
151 10.7.
152 .SH "Bug Fixes"
153 .IX Header "Bug Fixes"
154 .IP \(bu 4
155 In \f(CW@INC\fR filters (subroutines returned by subroutines in \f(CW@INC\fR), \f(CW$_\fR used to
156 misbehave: If returned from a subroutine, it would not be copied, but the
157 variable itself would be returned; and freeing \f(CW$_\fR (e.g., with \f(CW\*(C`undef *_\*(C'\fR)
158 would cause perl to crash. This has been fixed [perl #91880].
159 .IP \(bu 4
160 Perl 5.10.0 introduced some faulty logic that made "U*" in the middle of
161 a pack template equivalent to "U0" if the input string was empty. This has
162 been fixed [perl #90160].
163 .IP \(bu 4
164 \&\f(CW\*(C`caller\*(C'\fR no longer leaks memory when called from the DB package if
165 \&\f(CW@DB::args\fR was assigned to after the first call to \f(CW\*(C`caller\*(C'\fR. Carp
166 was triggering this bug [perl #97010].
167 .IP \(bu 4
168 \&\f(CW\*(C`utf8::decode\*(C'\fR had a nasty bug that would modify copy-on-write scalars'
169 string buffers in place (i.e., skipping the copy). This could result in
170 hashes having two elements with the same key [perl #91834].
171 .IP \(bu 4
172 Localising a tied variable used to make it read-only if it contained a
173 copy-on-write string.
174 .IP \(bu 4
175 Elements of restricted hashes (see the fields pragma) containing
176 copy-on-write values couldn't be deleted, nor could such hashes be cleared
177 (\f(CW\*(C`%hash = ()\*(C'\fR).
178 .IP \(bu 4
179 Locking a hash element that is a glob copy no longer causes subsequent
180 assignment to it to corrupt the glob.
181 .IP \(bu 4
182 A panic involving the combination of the regular expression modifiers
183 \&\f(CW\*(C`/aa\*(C'\fR introduced in 5.14.0 and the \f(CW\*(C`\eb\*(C'\fR escape sequence has been
184 fixed [perl #95964].
185 .SH "Known Problems"
186 .IX Header "Known Problems"
187 This is a list of some significant unfixed bugs, which are regressions
188 from 5.12.0.
189 .IP \(bu 4
190 \&\f(CW\*(C`PERL_GLOBAL_STRUCT\*(C'\fR is broken.
191 .Sp
192 Since perl 5.14.0, building with \f(CW\*(C`\-DPERL_GLOBAL_STRUCT\*(C'\fR hasn't been
193 possible. This means that perl currently doesn't work on any platforms that
194 require it to be built this way, including Symbian.
195 .Sp
196 While \f(CW\*(C`PERL_GLOBAL_STRUCT\*(C'\fR now works again on recent development versions of
197 perl, it actually working on Symbian again hasn't been verified.
198 .Sp
199 We'd be very interested in hearing from anyone working with Perl on Symbian.
200 .SH Acknowledgements
201 .IX Header "Acknowledgements"
202 Perl 5.14.2 represents approximately three months of development since
203 Perl 5.14.1 and contains approximately 1200 lines of changes
204 across 61 files from 9 authors.
205 .PP
206 Perl continues to flourish into its third decade thanks to a vibrant
207 community of users and developers. The following people are known to
208 have contributed the improvements that became Perl 5.14.2:
209 .PP
210 Craig A. Berry, David Golden, Father Chrysostomos, Florian Ragwitz, H.Merijn
211 Brand, Karl Williamson, Nicholas Clark, Pau Amma and Ricardo Signes.
212 .SH "Reporting Bugs"
213 .IX Header "Reporting Bugs"
214 If you find what you think is a bug, you might check the articles
215 recently posted to the comp.lang.perl.misc newsgroup and the perl
216 bug database at http://rt.perl.org/perlbug/ . There may also be
217 information at http://www.perl.org/ , the Perl Home Page.
218 .PP
219 If you believe you have an unreported bug, please run the perlbug
220 program included with your release. Be sure to trim your bug down
221 to a tiny but sufficient test case. Your bug report, along with the
222 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
223 analysed by the Perl porting team.
224 .PP
225 If the bug you are reporting has security implications, which make it
226 inappropriate to send to a publicly archived mailing list, then please send
227 it to perl5\-security\[email protected]. This points to a closed subscription
228 unarchived mailing list, which includes all the core committers, who be able
229 to help assess the impact of issues, figure out a resolution, and help
230 co-ordinate the release of patches to mitigate or fix the problem across all
231 platforms on which Perl is supported. Please only use this address for
232 security issues in the Perl core, not for modules independently
233 distributed on CPAN.
234 .SH "SEE ALSO"
235 .IX Header "SEE ALSO"
236 The \fIChanges\fR file for an explanation of how to view exhaustive details
237 on what changed.
238 .PP
239 The \fIINSTALL\fR file for how to build Perl.
240 .PP
241 The \fIREADME\fR file for general stuff.
242 .PP
243 The \fIArtistic\fR and \fICopying\fR files for copyright information.