Debian Codegraph @

upstream/fedora-44/man1/perl5125delta.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 "PERL5125DELTA 1"
61 .TH PERL5125DELTA 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 perl5125delta \- what is new for perl v5.12.5
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.12.4 release and
71 the 5.12.5 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.12.3, first read
74 perl5124delta, which describes differences between 5.12.3 and
75 5.12.4.
76 .SH Security
77 .IX Header "Security"
78 .ie n .SS """Encode"" decode_xs n\-byte heap\-overflow (CVE\-2011\-2939)"
79 .el .SS "\f(CWEncode\fP decode_xs n\-byte heap\-overflow (CVE\-2011\-2939)"
80 .IX Subsection "Encode decode_xs n-byte heap-overflow (CVE-2011-2939)"
81 A bug in \f(CW\*(C`Encode\*(C'\fR could, on certain inputs, cause the heap to overflow.
82 This problem has been corrected. Bug reported by Robert Zacek.
83 .ie n .SS "File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE\-2011\-2728)"
84 .el .SS "\f(CWFile::Glob::bsd_glob()\fP memory error with GLOB_ALTDIRFUNC (CVE\-2011\-2728)"
85 .IX Subsection "File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728)"
86 Calling \f(CW\*(C`File::Glob::bsd_glob\*(C'\fR with the unsupported flag GLOB_ALTDIRFUNC would
87 cause an access violation / segfault. A Perl program that accepts a flags value from
88 an external source could expose itself to denial of service or arbitrary code
89 execution attacks. There are no known exploits in the wild. The problem has been
90 corrected by explicitly disabling all unsupported flags and setting unused function
91 pointers to null. Bug reported by Clément Lecigne.
92 .SS "Heap buffer overrun in \*(Aqx\*(Aq string repeat operator (CVE\-2012\-5195)"
93 .IX Subsection "Heap buffer overrun in 'x' string repeat operator (CVE-2012-5195)"
94 Poorly written perl code that allows an attacker to specify the count to
95 perl\*(Aqs \*(Aqx\*(Aq string repeat operator can already cause a memory exhaustion
96 denial\-of\-service attack. A flaw in versions of perl before 5.15.5 can
97 escalate that into a heap buffer overrun; coupled with versions of glibc
98 before 2.16, it possibly allows the execution of arbitrary code.
99 .PP
100 This problem has been fixed.
101 .SH "Incompatible Changes"
102 .IX Header "Incompatible Changes"
103 There are no changes intentionally incompatible with 5.12.4. If any
104 exist, they are bugs and reports are welcome.
105 .SH "Modules and Pragmata"
106 .IX Header "Modules and Pragmata"
107 .SS "Updated Modules"
108 .IX Subsection "Updated Modules"
109 \fIB::Concise\fR
110 .IX Subsection "B::Concise"
111 .PP
112 B::Concise no longer produces mangled output with the \fB\-tree\fR option
113 [perl #80632].
114 .PP
115 \fIcharnames\fR
116 .IX Subsection "charnames"
117 .PP
118 A regression introduced in Perl 5.8.8 has been fixed, that caused
119 \&\f(CWcharnames::viacode(0)\fR to return \f(CW\*(C`undef\*(C'\fR instead of the string "NULL"
120 [perl #72624].
121 .PP
122 \fIEncode has been upgraded from version 2.39 to version 2.39_01\fR
123 .IX Subsection "Encode has been upgraded from version 2.39 to version 2.39_01"
124 .PP
125 See "Security".
126 .PP
127 \fIFile::Glob has been upgraded from version 1.07 to version 1.07_01\fR
128 .IX Subsection "File::Glob has been upgraded from version 1.07 to version 1.07_01"
129 .PP
130 See "Security".
131 .PP
132 \fIUnicode::UCD\fR
133 .IX Subsection "Unicode::UCD"
134 .PP
135 The documentation for the \f(CW\*(C`upper\*(C'\fR function now actually says "upper", not
136 "lower".
137 .PP
138 \fIModule::CoreList\fR
139 .IX Subsection "Module::CoreList"
140 .PP
141 Module::CoreList has been updated to version 2.50_02 to add data for
142 this release.
143 .SH "Changes to Existing Documentation"
144 .IX Header "Changes to Existing Documentation"
145 .SS perlebcdic
146 .IX Subsection "perlebcdic"
147 The perlebcdic document contains a helpful table to use in \f(CW\*(C`tr///\*(C'\fR to
148 convert between EBCDIC and Latin1/ASCII. Unfortunately, the table was the
149 inverse of the one it describes. This has been corrected.
150 .SS perlunicode
151 .IX Subsection "perlunicode"
152 The section on
153 User\-Defined Case Mappings had
154 some bad markup and unclear sentences, making parts of it unreadable. This
155 has been rectified.
156 .SS perluniprops
157 .IX Subsection "perluniprops"
158 This document has been corrected to take non\-ASCII platforms into account.
159 .SH "Installation and Configuration Improvements"
160 .IX Header "Installation and Configuration Improvements"
161 .SS "Platform Specific Changes"
162 .IX Subsection "Platform Specific Changes"
163 .IP "Mac OS X" 4
164 .IX Item "Mac OS X"
165 There have been configuration and test fixes to make Perl build cleanly on
166 Lion and Mountain Lion.
167 .IP NetBSD 4
168 .IX Item "NetBSD"
169 The NetBSD hints file was corrected to be compatible with NetBSD 6.*
170 .SH "Selected Bug Fixes"
171 .IX Header "Selected Bug Fixes"
172 .IP \(bu 4
173 \&\f(CW\*(C`chop\*(C'\fR now correctly handles characters above "\ex{7fffffff}"
174 [perl #73246].
175 .IP \(bu 4
176 \&\f(CW\*(C`($<,$>) = (...)\*(C'\fR stopped working properly in 5.12.0. It is supposed
177 to make a single \f(CWsetreuid()\fR call, rather than calling \f(CWsetruid()\fR and
178 \&\f(CWseteuid()\fR separately. Consequently it did not work properly. This has
179 been fixed [perl #75212].
180 .IP \(bu 4
181 Fixed a regression of \fBkill()\fR when a match variable is used for the
182 process ID to kill [perl #75812].
183 .IP \(bu 4
184 \&\f(CW\*(C`UNIVERSAL::VERSION\*(C'\fR no longer leaks memory. It started leaking in Perl
185 5.10.0.
186 .IP \(bu 4
187 The C\-level \f(CW\*(C`my_strftime\*(C'\fR functions no longer leaks memory. This fixes a
188 memory leak in \f(CW\*(C`POSIX::strftime\*(C'\fR [perl #73520].
189 .IP \(bu 4
190 \&\f(CW\*(C`caller\*(C'\fR no longer leaks memory when called from the DB package if
191 \&\f(CW@DB::args\fR was assigned to after the first call to \f(CW\*(C`caller\*(C'\fR. Carp
192 was triggering this bug [perl #97010].
193 .IP \(bu 4
194 Passing to \f(CW\*(C`index\*(C'\fR an offset beyond the end of the string when the string
195 is encoded internally in UTF8 no longer causes panics [perl #75898].
196 .IP \(bu 4
197 Syntax errors in \f(CW\*(C`(?{...})\*(C'\fR blocks in regular expressions no longer
198 cause panic messages [perl #2353].
199 .IP \(bu 4
200 Perl 5.10.0 introduced some faulty logic that made "U*" in the middle of
201 a pack template equivalent to "U0" if the input string was empty. This has
202 been fixed [perl #90160].
203 .SH Errata
204 .IX Header "Errata"
205 .ie n .SS "\fBsplit()\fP and @_"
206 .el .SS "\fBsplit()\fP and \f(CW@_\fP"
207 .IX Subsection "split() and @_"
208 \&\fBsplit()\fR no longer modifies \f(CW@_\fR when called in scalar or void context.
209 In void context it now produces a "Useless use of split" warning.
210 This is actually a change introduced in perl 5.12.0, but it was missed from
211 that release\*(Aqs perl5120delta.
212 .SH Acknowledgements
213 .IX Header "Acknowledgements"
214 Perl 5.12.5 represents approximately 17 months of development since Perl 5.12.4
215 and contains approximately 1,900 lines of changes across 64 files from 18
216 authors.
217 .PP
218 Perl continues to flourish into its third decade thanks to a vibrant community
219 of users and developers. The following people are known to have contributed the
220 improvements that became Perl 5.12.5:
221 .PP
222 Andy Dougherty, Chris \*(AqBinGOs\*(Aq Williams, Craig A. Berry, David Mitchell,
223 Dominic Hargreaves, Father Chrysostomos, Florian Ragwitz, George Greer, Goro
224 Fuji, Jesse Vincent, Karl Williamson, Leon Brocard, Nicholas Clark, Rafael
225 Garcia\-Suarez, Reini Urban, Ricardo Signes, Steve Hay, Tony Cook.
226 .PP
227 The list above is almost certainly incomplete as it is automatically generated
228 from version control history. In particular, it does not include the names of
229 the (very much appreciated) contributors who reported issues to the Perl bug
230 tracker.
231 .PP
232 Many of the changes included in this version originated in the CPAN modules
233 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
234 helping Perl to flourish.
235 .PP
236 For a more complete list of all of Perl\*(Aqs historical contributors, please see
237 the \fIAUTHORS\fR file in the Perl source distribution.
238 .SH "Reporting Bugs"
239 .IX Header "Reporting Bugs"
240 If you find what you think is a bug, you might check the articles
241 recently posted to the comp.lang.perl.misc newsgroup and the perl
242 bug database at http://rt.perl.org/perlbug/ . There may also be
243 information at http://www.perl.org/ , the Perl Home Page.
244 .PP
245 If you believe you have an unreported bug, please run the \fBperlbug\fR
246 program included with your release. Be sure to trim your bug down
247 to a tiny but sufficient test case. Your bug report, along with the
248 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
249 analysed by the Perl porting team.
250 .PP
251 If the bug you are reporting has security implications, which make it
252 inappropriate to send to a publicly archived mailing list, then please send
253 it to perl5\-security\[email protected]. This points to a closed subscription
254 unarchived mailing list, which includes all the core committers, who be able
255 to help assess the impact of issues, figure out a resolution, and help
256 co\-ordinate the release of patches to mitigate or fix the problem across all
257 platforms on which Perl is supported. Please only use this address for
258 security issues in the Perl core, not for modules independently
259 distributed on CPAN.
260 .SH "SEE ALSO"
261 .IX Header "SEE ALSO"
262 The \fIChanges\fR file for an explanation of how to view exhaustive details
263 on what changed.
264 .PP
265 The \fIINSTALL\fR file for how to build Perl.
266 .PP
267 The \fIREADME\fR file for general stuff.
268 .PP
269 The \fIArtistic\fR and \fICopying\fR files for copyright information.