| 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 "PERL5243DELTA 1" |
| 61 |
.TH PERL5243DELTA 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 |
perl5243delta \- what is new for perl v5.24.3 |
| 68 |
.SH DESCRIPTION |
| 69 |
.IX Header "DESCRIPTION" |
| 70 |
This document describes differences between the 5.24.2 release and the 5.24.3 |
| 71 |
release. |
| 72 |
.PP |
| 73 |
If you are upgrading from an earlier release such as 5.24.1, first read |
| 74 |
perl5242delta, which describes differences between 5.24.1 and 5.24.2. |
| 75 |
.SH Security |
| 76 |
.IX Header "Security" |
| 77 |
.SS "[CVE\-2017\-12837] Heap buffer overflow in regular expression compiler" |
| 78 |
.IX Subsection "[CVE-2017-12837] Heap buffer overflow in regular expression compiler" |
| 79 |
Compiling certain regular expression patterns with the case\-insensitive |
| 80 |
modifier could cause a heap buffer overflow and crash perl. This has now been |
| 81 |
fixed. |
| 82 |
[GH #16021] <https://github.com/Perl/perl5/issues/16021> |
| 83 |
.SS "[CVE\-2017\-12883] Buffer over\-read in regular expression parser" |
| 84 |
.IX Subsection "[CVE-2017-12883] Buffer over-read in regular expression parser" |
| 85 |
For certain types of syntax error in a regular expression pattern, the error |
| 86 |
message could either contain the contents of a random, possibly large, chunk of |
| 87 |
memory, or could crash perl. This has now been fixed. |
| 88 |
[GH #16025] <https://github.com/Perl/perl5/issues/16025> |
| 89 |
.ie n .SS "[CVE\-2017\-12814] $ENV{$key} stack buffer overflow on Windows" |
| 90 |
.el .SS "[CVE\-2017\-12814] \f(CW$ENV{$key}\fP stack buffer overflow on Windows" |
| 91 |
.IX Subsection "[CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows" |
| 92 |
A possible stack buffer overflow in the \f(CW%ENV\fR code on Windows has been fixed |
| 93 |
by removing the buffer completely since it was superfluous anyway. |
| 94 |
[GH #16051] <https://github.com/Perl/perl5/issues/16051> |
| 95 |
.SH "Incompatible Changes" |
| 96 |
.IX Header "Incompatible Changes" |
| 97 |
There are no changes intentionally incompatible with 5.24.2. If any exist, |
| 98 |
they are bugs, and we request that you submit a report. See "Reporting |
| 99 |
Bugs" below. |
| 100 |
.SH "Modules and Pragmata" |
| 101 |
.IX Header "Modules and Pragmata" |
| 102 |
.SS "Updated Modules and Pragmata" |
| 103 |
.IX Subsection "Updated Modules and Pragmata" |
| 104 |
.IP \(bu 4 |
| 105 |
Module::CoreList has been upgraded from version 5.20170715_24 to |
| 106 |
5.20170922_24. |
| 107 |
.IP \(bu 4 |
| 108 |
POSIX has been upgraded from version 1.65 to 1.65_01. |
| 109 |
.IP \(bu 4 |
| 110 |
Time::HiRes has been upgraded from version 1.9733 to 1.9741. |
| 111 |
.Sp |
| 112 |
[GH #15396] <https://github.com/Perl/perl5/issues/15396> |
| 113 |
[GH #15401] <https://github.com/Perl/perl5/issues/15401> |
| 114 |
[GH #15524] <https://github.com/Perl/perl5/issues/15524> |
| 115 |
[cpan #120032] <https://rt.cpan.org/Public/Bug/Display.html?id=120032> |
| 116 |
.SH "Configuration and Compilation" |
| 117 |
.IX Header "Configuration and Compilation" |
| 118 |
.IP \(bu 4 |
| 119 |
When building with GCC 6 and link\-time optimization (the \fB\-flto\fR option to |
| 120 |
\&\fBgcc\fR), \fIConfigure\fR was treating all probed symbols as present on the system, |
| 121 |
regardless of whether they actually exist. This has been fixed. |
| 122 |
[GH #15322] <https://github.com/Perl/perl5/issues/15322> |
| 123 |
.IP \(bu 4 |
| 124 |
\&\fIConfigure\fR now aborts if both \f(CW\*(C`\-Duselongdouble\*(C'\fR and \f(CW\*(C`\-Dusequadmath\*(C'\fR are |
| 125 |
requested. |
| 126 |
[GH #14944] <https://github.com/Perl/perl5/issues/14944> |
| 127 |
.IP \(bu 4 |
| 128 |
Fixed a bug in which \fIConfigure\fR could append \f(CW\*(C`\-quadmath\*(C'\fR to the archname |
| 129 |
even if it was already present. |
| 130 |
[GH #15423] <https://github.com/Perl/perl5/issues/15423> |
| 131 |
.IP \(bu 4 |
| 132 |
Clang builds with \f(CW\*(C`\-DPERL_GLOBAL_STRUCT\*(C'\fR or \f(CW\*(C`\-DPERL_GLOBAL_STRUCT_PRIVATE\*(C'\fR |
| 133 |
have been fixed (by disabling Thread Safety Analysis for these configurations). |
| 134 |
.SH "Platform Support" |
| 135 |
.IX Header "Platform Support" |
| 136 |
.SS "Platform\-Specific Notes" |
| 137 |
.IX Subsection "Platform-Specific Notes" |
| 138 |
.IP VMS 4 |
| 139 |
.IX Item "VMS" |
| 140 |
.RS 4 |
| 141 |
.PD 0 |
| 142 |
.IP \(bu 4 |
| 143 |
.PD |
| 144 |
\&\f(CW\*(C`configure.com\*(C'\fR now recognizes the VSI\-branded C compiler. |
| 145 |
.RE |
| 146 |
.RS 4 |
| 147 |
.RE |
| 148 |
.IP Windows 4 |
| 149 |
.IX Item "Windows" |
| 150 |
.RS 4 |
| 151 |
.PD 0 |
| 152 |
.IP \(bu 4 |
| 153 |
.PD |
| 154 |
Building XS modules with GCC 6 in a 64\-bit build of Perl failed due to |
| 155 |
incorrect mapping of \f(CW\*(C`strtoll\*(C'\fR and \f(CW\*(C`strtoull\*(C'\fR. This has now been fixed. |
| 156 |
[GH #16074] <https://github.com/Perl/perl5/issues/16074> |
| 157 |
[cpan #121683] <https://rt.cpan.org/Public/Bug/Display.html?id=121683> |
| 158 |
[cpan #122353] <https://rt.cpan.org/Public/Bug/Display.html?id=122353> |
| 159 |
.RE |
| 160 |
.RS 4 |
| 161 |
.RE |
| 162 |
.SH "Selected Bug Fixes" |
| 163 |
.IX Header "Selected Bug Fixes" |
| 164 |
.IP \(bu 4 |
| 165 |
\&\f(CW\*(C`/@0{0*\->@*/*0\*(C'\fR and similar contortions used to crash, but no longer |
| 166 |
do, but merely produce a syntax error. |
| 167 |
[GH #15333] <https://github.com/Perl/perl5/issues/15333> |
| 168 |
.IP \(bu 4 |
| 169 |
\&\f(CW\*(C`do\*(C'\fR or \f(CW\*(C`require\*(C'\fR with an argument which is a reference or typeglob which, |
| 170 |
when stringified, contains a null character, started crashing in Perl 5.20, but |
| 171 |
has now been fixed. |
| 172 |
[GH #15337] <https://github.com/Perl/perl5/issues/15337> |
| 173 |
.IP \(bu 4 |
| 174 |
Expressions containing an \f(CW\*(C`&&\*(C'\fR or \f(CW\*(C`||\*(C'\fR operator (or their synonyms \f(CW\*(C`and\*(C'\fR and |
| 175 |
\&\f(CW\*(C`or\*(C'\fR) were being compiled incorrectly in some cases. If the left\-hand side |
| 176 |
consisted of either a negated bareword constant or a negated \f(CW\*(C`do {}\*(C'\fR block |
| 177 |
containing a constant expression, and the right\-hand side consisted of a |
| 178 |
negated non\-foldable expression, one of the negations was effectively ignored. |
| 179 |
The same was true of \f(CW\*(C`if\*(C'\fR and \f(CW\*(C`unless\*(C'\fR statement modifiers, though with the |
| 180 |
left\-hand and right\-hand sides swapped. This long\-standing bug has now been |
| 181 |
fixed. |
| 182 |
[GH #15285] <https://github.com/Perl/perl5/issues/15285> |
| 183 |
.IP \(bu 4 |
| 184 |
\&\f(CW\*(C`reset\*(C'\fR with an argument no longer crashes when encountering stash entries |
| 185 |
other than globs. |
| 186 |
[GH #15314] <https://github.com/Perl/perl5/issues/15314> |
| 187 |
.IP \(bu 4 |
| 188 |
Assignment of hashes to, and deletion of, typeglobs named \f(CW*::::::\fR no longer |
| 189 |
causes crashes. |
| 190 |
[GH #15307] <https://github.com/Perl/perl5/issues/15307> |
| 191 |
.IP \(bu 4 |
| 192 |
Assignment variants of any bitwise ops under the \f(CW\*(C`bitwise\*(C'\fR feature would crash |
| 193 |
if the left\-hand side was an array or hash. |
| 194 |
[GH #15346] <https://github.com/Perl/perl5/issues/15346> |
| 195 |
.IP \(bu 4 |
| 196 |
\&\f(CW\*(C`socket\*(C'\fR now leaves the error code returned by the system in \f(CW$!\fR on failure. |
| 197 |
[GH #15383] <https://github.com/Perl/perl5/issues/15383> |
| 198 |
.IP \(bu 4 |
| 199 |
Parsing bad POSIX charclasses no longer leaks memory. |
| 200 |
[GH #15382] <https://github.com/Perl/perl5/issues/15382> |
| 201 |
.IP \(bu 4 |
| 202 |
Since Perl 5.20, line numbers have been off by one when perl is invoked with |
| 203 |
the \fB\-x\fR switch. This has been fixed. |
| 204 |
[GH #15413] <https://github.com/Perl/perl5/issues/15413> |
| 205 |
.IP \(bu 4 |
| 206 |
Some obscure cases of subroutines and file handles being freed at the same time |
| 207 |
could result in crashes, but have been fixed. The crash was introduced in Perl |
| 208 |
5.22. |
| 209 |
[GH #15435] <https://github.com/Perl/perl5/issues/15435> |
| 210 |
.IP \(bu 4 |
| 211 |
Some regular expression parsing glitches could lead to assertion failures with |
| 212 |
regular expressions such as \f(CW\*(C`/(?<=/\*(C'\fR and \f(CW\*(C`/(?<!/\*(C'\fR. This has now been |
| 213 |
fixed. |
| 214 |
[GH #15332] <https://github.com/Perl/perl5/issues/15332> |
| 215 |
.IP \(bu 4 |
| 216 |
\&\f(CW\*(C`gethostent\*(C'\fR and similar functions now perform a null check internally, to |
| 217 |
avoid crashing with the torsocks library. This was a regression from Perl |
| 218 |
5.22. |
| 219 |
[GH #15478] <https://github.com/Perl/perl5/issues/15478> |
| 220 |
.IP \(bu 4 |
| 221 |
Mentioning the same constant twice in a row (which is a syntax error) no longer |
| 222 |
fails an assertion under debugging builds. This was a regression from Perl |
| 223 |
5.20. |
| 224 |
[GH #15017] <https://github.com/Perl/perl5/issues/15017> |
| 225 |
.IP \(bu 4 |
| 226 |
In Perl 5.24 \f(CW\*(C`fchown\*(C'\fR was changed not to accept negative one as an argument |
| 227 |
because in some platforms that is an error. However, in some other platforms |
| 228 |
that is an acceptable argument. This change has been reverted. |
| 229 |
[GH #15523] <https://github.com/Perl/perl5/issues/15523>. |
| 230 |
.IP \(bu 4 |
| 231 |
\&\f(CW\*(C`@{x\*(C'\fR followed by a newline where \f(CW"x"\fR represents a control or non\-ASCII |
| 232 |
character no longer produces a garbled syntax error message or a crash. |
| 233 |
[GH #15518] <https://github.com/Perl/perl5/issues/15518> |
| 234 |
.IP \(bu 4 |
| 235 |
A regression in Perl 5.24 with \f(CW\*(C`tr/\eN{U+...}/foo/\*(C'\fR when the code point was |
| 236 |
between 128 and 255 has been fixed. |
| 237 |
[GH #15475] <https://github.com/Perl/perl5/issues/15475>. |
| 238 |
.IP \(bu 4 |
| 239 |
Many issues relating to \f(CW\*(C`printf "%a"\*(C'\fR of hexadecimal floating point were |
| 240 |
fixed. In addition, the "subnormals" (formerly known as "denormals") floating |
| 241 |
point numbers are now supported both with the plain IEEE 754 floating point |
| 242 |
numbers (64\-bit or 128\-bit) and the x86 80\-bit "extended precision". Note that |
| 243 |
subnormal hexadecimal floating point literals will give a warning about |
| 244 |
"exponent underflow". |
| 245 |
[GH #15495] <https://github.com/Perl/perl5/issues/15495> |
| 246 |
[GH #15502] <https://github.com/Perl/perl5/issues/15502> |
| 247 |
[GH #15503] <https://github.com/Perl/perl5/issues/15503> |
| 248 |
[GH #15504] <https://github.com/Perl/perl5/issues/15504> |
| 249 |
[GH #15505] <https://github.com/Perl/perl5/issues/15505> |
| 250 |
[GH #15510] <https://github.com/Perl/perl5/issues/15510> |
| 251 |
[GH #15512] <https://github.com/Perl/perl5/issues/15512> |
| 252 |
.IP \(bu 4 |
| 253 |
The parser could sometimes crash if a bareword came after \f(CW\*(C`evalbytes\*(C'\fR. |
| 254 |
[GH #15586] <https://github.com/Perl/perl5/issues/15586> |
| 255 |
.IP \(bu 4 |
| 256 |
Fixed a place where the regex parser was not setting the syntax error correctly |
| 257 |
on a syntactically incorrect pattern. |
| 258 |
[GH #15565] <https://github.com/Perl/perl5/issues/15565> |
| 259 |
.IP \(bu 4 |
| 260 |
A vulnerability in Perl\*(Aqs \f(CW\*(C`sprintf\*(C'\fR implementation has been fixed by avoiding |
| 261 |
a possible memory wrap. |
| 262 |
[GH #15970] <https://github.com/Perl/perl5/issues/15970> |
| 263 |
.SH Acknowledgements |
| 264 |
.IX Header "Acknowledgements" |
| 265 |
Perl 5.24.3 represents approximately 2 months of development since Perl 5.24.2 |
| 266 |
and contains approximately 3,200 lines of changes across 120 files from 23 |
| 267 |
authors. |
| 268 |
.PP |
| 269 |
Excluding auto\-generated files, documentation and release tools, there were |
| 270 |
approximately 1,600 lines of changes to 56 .pm, .t, .c and .h files. |
| 271 |
.PP |
| 272 |
Perl continues to flourish into its third decade thanks to a vibrant community |
| 273 |
of users and developers. The following people are known to have contributed |
| 274 |
the improvements that became Perl 5.24.3: |
| 275 |
.PP |
| 276 |
Aaron Crane, Craig A. Berry, Dagfinn Ilmari Mannsåker, Dan Collins, Daniel |
| 277 |
Dragan, Dave Cross, David Mitchell, Eric Herman, Father Chrysostomos, H.Merijn |
| 278 |
Brand, Hugo van der Sanden, James E Keenan, Jarkko Hietaniemi, John SJ |
| 279 |
Anderson, Karl Williamson, Ken Brown, Lukas Mai, Matthew Horsfall, Stevan |
| 280 |
Little, Steve Hay, Steven Humphrey, Tony Cook, Yves Orton. |
| 281 |
.PP |
| 282 |
The list above is almost certainly incomplete as it is automatically generated |
| 283 |
from version control history. In particular, it does not include the names of |
| 284 |
the (very much appreciated) contributors who reported issues to the Perl bug |
| 285 |
tracker. |
| 286 |
.PP |
| 287 |
Many of the changes included in this version originated in the CPAN modules |
| 288 |
included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for |
| 289 |
helping Perl to flourish. |
| 290 |
.PP |
| 291 |
For a more complete list of all of Perl\*(Aqs historical contributors, please see |
| 292 |
the \fIAUTHORS\fR file in the Perl source distribution. |
| 293 |
.SH "Reporting Bugs" |
| 294 |
.IX Header "Reporting Bugs" |
| 295 |
If you find what you think is a bug, you might check the articles recently |
| 296 |
posted to the comp.lang.perl.misc newsgroup and the perl bug database at |
| 297 |
<https://rt.perl.org/> . There may also be information at |
| 298 |
<http://www.perl.org/> , the Perl Home Page. |
| 299 |
.PP |
| 300 |
If you believe you have an unreported bug, please run the perlbug program |
| 301 |
included with your release. Be sure to trim your bug down to a tiny but |
| 302 |
sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR, |
| 303 |
will be sent off to [email protected] to be analysed by the Perl porting team. |
| 304 |
.PP |
| 305 |
If the bug you are reporting has security implications which make it |
| 306 |
inappropriate to send to a publicly archived mailing list, then see |
| 307 |
"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to |
| 308 |
report the issue. |
| 309 |
.SH "SEE ALSO" |
| 310 |
.IX Header "SEE ALSO" |
| 311 |
The \fIChanges\fR file for an explanation of how to view exhaustive details on |
| 312 |
what changed. |
| 313 |
.PP |
| 314 |
The \fIINSTALL\fR file for how to build Perl. |
| 315 |
.PP |
| 316 |
The \fIREADME\fR file for general stuff. |
| 317 |
.PP |
| 318 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |