Debian Codegraph @

upstream/opensuse-tumbleweed/man1/perl5142delta.1

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