| 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 "PERL5281DELTA 1" |
| 58 |
.TH PERL5281DELTA 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 |
perl5281delta \- what is new for perl v5.28.1 |
| 65 |
.SH DESCRIPTION |
| 66 |
.IX Header "DESCRIPTION" |
| 67 |
This document describes differences between the 5.28.0 release and the 5.28.1 |
| 68 |
release. |
| 69 |
.PP |
| 70 |
If you are upgrading from an earlier release such as 5.26.0, first read |
| 71 |
perl5280delta, which describes differences between 5.26.0 and 5.28.0. |
| 72 |
.SH Security |
| 73 |
.IX Header "Security" |
| 74 |
.SS "[CVE\-2018\-18311] Integer overflow leading to buffer overflow and segmentation fault" |
| 75 |
.IX Subsection "[CVE-2018-18311] Integer overflow leading to buffer overflow and segmentation fault" |
| 76 |
Integer arithmetic in \f(CWPerl_my_setenv()\fR could wrap when the combined length |
| 77 |
of the environment variable name and value exceeded around 0x7fffffff. This |
| 78 |
could lead to writing beyond the end of an allocated buffer with attacker |
| 79 |
supplied data. |
| 80 |
.PP |
| 81 |
[GH #16560] <https://github.com/Perl/perl5/issues/16560> |
| 82 |
.SS "[CVE\-2018\-18312] Heap-buffer-overflow write in S_regatom (regcomp.c)" |
| 83 |
.IX Subsection "[CVE-2018-18312] Heap-buffer-overflow write in S_regatom (regcomp.c)" |
| 84 |
A crafted regular expression could cause heap-buffer-overflow write during |
| 85 |
compilation, potentially allowing arbitrary code execution. |
| 86 |
.PP |
| 87 |
[GH #16649] <https://github.com/Perl/perl5/issues/16649> |
| 88 |
.SH "Incompatible Changes" |
| 89 |
.IX Header "Incompatible Changes" |
| 90 |
There are no changes intentionally incompatible with 5.28.0. If any exist, |
| 91 |
they are bugs, and we request that you submit a report. See |
| 92 |
"Reporting Bugs" below. |
| 93 |
.SH "Modules and Pragmata" |
| 94 |
.IX Header "Modules and Pragmata" |
| 95 |
.SS "Updated Modules and Pragmata" |
| 96 |
.IX Subsection "Updated Modules and Pragmata" |
| 97 |
.IP \(bu 4 |
| 98 |
Module::CoreList has been upgraded from version 5.20180622 to 5.20181129_28. |
| 99 |
.SH "Selected Bug Fixes" |
| 100 |
.IX Header "Selected Bug Fixes" |
| 101 |
.IP \(bu 4 |
| 102 |
Perl 5.28 introduced an \f(CWindex()\fR optimization when comparing to \-1 (or |
| 103 |
indirectly, e.g. >= 0). When this optimization was triggered inside a \f(CW\*(C`when\*(C'\fR |
| 104 |
clause it caused a warning ("Argument \f(CW%s\fR isn't numeric in smart match"). This |
| 105 |
has now been fixed. |
| 106 |
[GH #16626] <https://github.com/Perl/perl5/issues/16626> |
| 107 |
.IP \(bu 4 |
| 108 |
Matching of decimal digits in script runs, introduced in Perl 5.28, had a bug |
| 109 |
that led to \f(CW"1\eN{THAI DIGIT FIVE}"\fR matching \f(CW\*(C`/^(*sr:\ed+)$/\*(C'\fR when it should |
| 110 |
not. This has now been fixed. |
| 111 |
.IP \(bu 4 |
| 112 |
The new in-place editing code no longer leaks directory handles. |
| 113 |
[GH #16602] <https://github.com/Perl/perl5/issues/16602> |
| 114 |
.SH Acknowledgements |
| 115 |
.IX Header "Acknowledgements" |
| 116 |
Perl 5.28.1 represents approximately 5 months of development since Perl 5.28.0 |
| 117 |
and contains approximately 6,100 lines of changes across 44 files from 12 |
| 118 |
authors. |
| 119 |
.PP |
| 120 |
Excluding auto-generated files, documentation and release tools, there were |
| 121 |
approximately 700 lines of changes to 12 .pm, .t, .c and .h files. |
| 122 |
.PP |
| 123 |
Perl continues to flourish into its fourth decade thanks to a vibrant community |
| 124 |
of users and developers. The following people are known to have contributed |
| 125 |
the improvements that became Perl 5.28.1: |
| 126 |
.PP |
| 127 |
Aaron Crane, Abigail, Chris 'BinGOs' Williams, Dagfinn Ilmari Mannsåker, David |
| 128 |
Mitchell, James E Keenan, John SJ Anderson, Karen Etheridge, Karl Williamson, |
| 129 |
Sawyer X, Steve Hay, Tony Cook. |
| 130 |
.PP |
| 131 |
The list above is almost certainly incomplete as it is automatically generated |
| 132 |
from version control history. In particular, it does not include the names of |
| 133 |
the (very much appreciated) contributors who reported issues to the Perl bug |
| 134 |
tracker. |
| 135 |
.PP |
| 136 |
Many of the changes included in this version originated in the CPAN modules |
| 137 |
included in Perl's core. We're grateful to the entire CPAN community for |
| 138 |
helping Perl to flourish. |
| 139 |
.PP |
| 140 |
For a more complete list of all of Perl's historical contributors, please see |
| 141 |
the \fIAUTHORS\fR file in the Perl source distribution. |
| 142 |
.SH "Reporting Bugs" |
| 143 |
.IX Header "Reporting Bugs" |
| 144 |
If you find what you think is a bug, you might check the perl bug database |
| 145 |
at <https://rt.perl.org/> . There may also be information at |
| 146 |
<http://www.perl.org/> , the Perl Home Page. |
| 147 |
.PP |
| 148 |
If you believe you have an unreported bug, please run the perlbug program |
| 149 |
included with your release. Be sure to trim your bug down to a tiny but |
| 150 |
sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR, |
| 151 |
will be sent off to [email protected] to be analysed by the Perl porting team. |
| 152 |
.PP |
| 153 |
If the bug you are reporting has security implications which make it |
| 154 |
inappropriate to send to a publicly archived mailing list, then see |
| 155 |
"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec |
| 156 |
for details of how to report the issue. |
| 157 |
.SH "Give Thanks" |
| 158 |
.IX Header "Give Thanks" |
| 159 |
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, |
| 160 |
you can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program: |
| 161 |
.PP |
| 162 |
.Vb 1 |
| 163 |
\& perlthanks |
| 164 |
.Ve |
| 165 |
.PP |
| 166 |
This will send an email to the Perl 5 Porters list with your show of thanks. |
| 167 |
.SH "SEE ALSO" |
| 168 |
.IX Header "SEE ALSO" |
| 169 |
The \fIChanges\fR file for an explanation of how to view exhaustive details on |
| 170 |
what changed. |
| 171 |
.PP |
| 172 |
The \fIINSTALL\fR file for how to build Perl. |
| 173 |
.PP |
| 174 |
The \fIREADME\fR file for general stuff. |
| 175 |
.PP |
| 176 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |