1PERL5125DELTA(1) Perl Programmers Reference Guide PERL5125DELTA(1)
2
3
4
6 perl5125delta - what is new for perl v5.12.5
7
9 This document describes differences between the 5.12.4 release and the
10 5.12.5 release.
11
12 If you are upgrading from an earlier release such as 5.12.3, first read
13 perl5124delta, which describes differences between 5.12.3 and 5.12.4.
14
16 "Encode" decode_xs n-byte heap-overflow (CVE-2011-2939)
17 A bug in "Encode" could, on certain inputs, cause the heap to overflow.
18 This problem has been corrected. Bug reported by Robert Zacek.
19
20 "File::Glob::bsd_glob()" memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).
21 Calling "File::Glob::bsd_glob" with the unsupported flag
22 GLOB_ALTDIRFUNC would cause an access violation / segfault. A Perl
23 program that accepts a flags value from an external source could expose
24 itself to denial of service or arbitrary code execution attacks. There
25 are no known exploits in the wild. The problem has been corrected by
26 explicitly disabling all unsupported flags and setting unused function
27 pointers to null. Bug reported by Clement Lecigne.
28
29 Heap buffer overrun in 'x' string repeat operator (CVE-2012-5195)
30 Poorly written perl code that allows an attacker to specify the count
31 to perl's 'x' string repeat operator can already cause a memory
32 exhaustion denial-of-service attack. A flaw in versions of perl before
33 5.15.5 can escalate that into a heap buffer overrun; coupled with
34 versions of glibc before 2.16, it possibly allows the execution of
35 arbitrary code.
36
37 This problem has been fixed.
38
40 There are no changes intentionally incompatible with 5.12.4. If any
41 exist, they are bugs and reports are welcome.
42
44 Updated Modules
45 B::Concise
46
47 B::Concise no longer produces mangled output with the -tree option
48 [perl #80632].
49
50 charnames
51
52 A regression introduced in Perl 5.8.8 has been fixed, that caused
53 charnames::viacode(0) to return "undef" instead of the string "NULL"
54 [perl #72624].
55
56 Encode has been upgraded from version 2.39 to version 2.39_01.
57
58 See "Security".
59
60 File::Glob has been upgraded from version 1.07 to version 1.07_01.
61
62 See "Security".
63
64 Unicode::UCD
65
66 The documentation for the "upper" function now actually says "upper",
67 not "lower".
68
69 Module::CoreList
70
71 Module::CoreList has been updated to version 2.50_02 to add data for
72 this release.
73
75 perlebcdic
76 The perlebcdic document contains a helpful table to use in "tr///" to
77 convert between EBCDIC and Latin1/ASCII. Unfortunately, the table was
78 the inverse of the one it describes. This has been corrected.
79
80 perlunicode
81 The section on User-Defined Case Mappings had some bad markup and
82 unclear sentences, making parts of it unreadable. This has been
83 rectified.
84
85 perluniprops
86 This document has been corrected to take non-ASCII platforms into
87 account.
88
90 Platform Specific Changes
91 Mac OS X
92 There have been configuration and test fixes to make Perl build
93 cleanly on Lion and Mountain Lion.
94
95 NetBSD
96 The NetBSD hints file was corrected to be compatible with NetBSD
97 6.*
98
100 · "chop" now correctly handles characters above "\x{7fffffff}" [perl
101 #73246].
102
103 · "($<,$>) = (...)" stopped working properly in 5.12.0. It is
104 supposed to make a single "setreuid()" call, rather than calling
105 "setruid()" and "seteuid()" separately. Consequently it did not
106 work properly. This has been fixed [perl #75212].
107
108 · Fixed a regression of kill() when a match variable is used for the
109 process ID to kill [perl #75812].
110
111 · "UNIVERSAL::VERSION" no longer leaks memory. It started leaking in
112 Perl 5.10.0.
113
114 · The C-level "my_strftime" functions no longer leaks memory. This
115 fixes a memory leak in "POSIX::strftime" [perl #73520].
116
117 · "caller" no longer leaks memory when called from the DB package if
118 @DB::args was assigned to after the first call to "caller". Carp
119 was triggering this bug [perl #97010].
120
121 · Passing to "index" an offset beyond the end of the string when the
122 string is encoded internally in UTF8 no longer causes panics [perl
123 #75898].
124
125 · Syntax errors in "(?{...})" blocks in regular expressions no longer
126 cause panic messages [perl #2353].
127
128 · Perl 5.10.0 introduced some faulty logic that made "U*" in the
129 middle of a pack template equivalent to "U0" if the input string
130 was empty. This has been fixed [perl #90160].
131
133 split() and @_
134 split() no longer modifies @_ when called in scalar or void context.
135 In void context it now produces a "Useless use of split" warning. This
136 is actually a change introduced in perl 5.12.0, but it was missed from
137 that release's perl5120delta.
138
140 Perl 5.12.5 represents approximately 17 months of development since
141 Perl 5.12.4 and contains approximately 1,900 lines of changes across 64
142 files from 18 authors.
143
144 Perl continues to flourish into its third decade thanks to a vibrant
145 community of users and developers. The following people are known to
146 have contributed the improvements that became Perl 5.12.5:
147
148 Andy Dougherty, Chris 'BinGOs' Williams, Craig A. Berry, David
149 Mitchell, Dominic Hargreaves, Father Chrysostomos, Florian Ragwitz,
150 George Greer, Goro Fuji, Jesse Vincent, Karl Williamson, Leon Brocard,
151 Nicholas Clark, Rafael Garcia-Suarez, Reini Urban, Ricardo Signes,
152 Steve Hay, Tony Cook.
153
154 The list above is almost certainly incomplete as it is automatically
155 generated from version control history. In particular, it does not
156 include the names of the (very much appreciated) contributors who
157 reported issues to the Perl bug tracker.
158
159 Many of the changes included in this version originated in the CPAN
160 modules included in Perl's core. We're grateful to the entire CPAN
161 community for helping Perl to flourish.
162
163 For a more complete list of all of Perl's historical contributors,
164 please see the AUTHORS file in the Perl source distribution.
165
167 If you find what you think is a bug, you might check the articles
168 recently posted to the comp.lang.perl.misc newsgroup and the perl bug
169 database at http://rt.perl.org/perlbug/ . There may also be
170 information at http://www.perl.org/ , the Perl Home Page.
171
172 If you believe you have an unreported bug, please run the perlbug
173 program included with your release. Be sure to trim your bug down to a
174 tiny but sufficient test case. Your bug report, along with the output
175 of "perl -V", will be sent off to perlbug@perl.org to be analysed by
176 the Perl porting team.
177
178 If the bug you are reporting has security implications, which make it
179 inappropriate to send to a publicly archived mailing list, then please
180 send it to perl5-security-report@perl.org. This points to a closed
181 subscription unarchived mailing list, which includes all the core
182 committers, who be able to help assess the impact of issues, figure out
183 a resolution, and help co-ordinate the release of patches to mitigate
184 or fix the problem across all platforms on which Perl is supported.
185 Please only use this address for security issues in the Perl core, not
186 for modules independently distributed on CPAN.
187
189 The Changes file for an explanation of how to view exhaustive details
190 on what changed.
191
192 The INSTALL file for how to build Perl.
193
194 The README file for general stuff.
195
196 The Artistic and Copying files for copyright information.
197
198
199
200perl v5.30.1 2019-11-29 PERL5125DELTA(1)