|
| 1 | +=encoding utf8 |
| 2 | + |
| 3 | +=head1 NAME |
| 4 | + |
| 5 | +perl5263cdelta - what is new for cperl v5.26.3 |
| 6 | + |
| 7 | +=head1 DESCRIPTION |
| 8 | + |
| 9 | +This document describes the differences between the cperl 5.26.2c |
| 10 | +and the cperl 5.26.3c releases. |
| 11 | + |
| 12 | +If you are upgrading from an earlier release such as v5.26.1c, first |
| 13 | +read the L<perl5262cdelta> documentation, which describes differences |
| 14 | +between v5.26.1c and v5.26.2c. |
| 15 | + |
| 16 | +=head1 Security |
| 17 | + |
| 18 | +=head2 [CVE-2018-6797] heap-buffer-overflow (WRITE of size 1) in S_regatom (regcomp.c) |
| 19 | + |
| 20 | +A crafted regular expression could cause a heap buffer write overflow, with |
| 21 | +control over the bytes written. |
| 22 | +L<[perl #132227]|https://rt.perl.org/Public/Bug/Display.html?id=132227> |
| 23 | + |
| 24 | +=head2 [CVE-2018-6798] Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) |
| 25 | + |
| 26 | +Matching a crafted locale dependent regular expression could cause a heap |
| 27 | +buffer read overflow and potentially information disclosure. |
| 28 | +L<[perl #132063]|https://rt.perl.org/Public/Bug/Display.html?id=132063> |
| 29 | + |
| 30 | +=head2 [CVE-2018-6913] heap-buffer-overflow in S_pack_rec |
| 31 | + |
| 32 | +C<pack()> could cause a heap buffer write overflow with a large item count. |
| 33 | +L<[perl #131844]|https://rt.perl.org/Public/Bug/Display.html?id=131844> |
| 34 | + |
| 35 | +=head2 Assertion failure in Perl__core_swash_init (utf8.c) |
| 36 | + |
| 37 | +Control characters in a supposed Unicode property name could cause perl to |
| 38 | +crash. This has been fixed. |
| 39 | +L<[perl #132055]|https://rt.perl.org/Public/Bug/Display.html?id=132055> |
| 40 | +L<[perl #132553]|https://rt.perl.org/Public/Bug/Display.html?id=132553> |
| 41 | +L<[perl #132658]|https://rt.perl.org/Public/Bug/Display.html?id=132658> |
| 42 | + |
| 43 | +=head1 Incompatible Changes |
| 44 | + |
| 45 | +There are no changes intentionally incompatible with 5.26.2c. If any exist, |
| 46 | +they are bugs, and we request that you submit a report. See L</Reporting |
| 47 | +Bugs> below. |
| 48 | + |
| 49 | +=head1 Modules and Pragmata |
| 50 | + |
| 51 | +=head2 Updated Modules and Pragmata |
| 52 | + |
| 53 | +=over 4 |
| 54 | + |
| 55 | +=item * |
| 56 | + |
| 57 | +L<Module::CoreList> has been upgraded from version 5.20170922_26 to 5.20180414_26. |
| 58 | + |
| 59 | +=item * |
| 60 | + |
| 61 | +L<PerlIO::via> has been upgraded from version 0.16 to 0.17. |
| 62 | + |
| 63 | +=item * |
| 64 | + |
| 65 | +L<Term::ReadLine> has been upgraded from version 1.16 to 1.17. |
| 66 | + |
| 67 | +=item * |
| 68 | + |
| 69 | +L<Unicode::UCD> has been upgraded from version 0.68 to 0.69_02. |
| 70 | + |
| 71 | +=back |
| 72 | + |
| 73 | +=head1 Documentation |
| 74 | + |
| 75 | +=head2 Changes to Existing Documentation |
| 76 | + |
| 77 | +=head3 L<perluniprops> |
| 78 | + |
| 79 | +=over 4 |
| 80 | + |
| 81 | +=item * |
| 82 | + |
| 83 | +This has been updated to note that C<\p{Word}> now includes code points |
| 84 | +matching the C<\p{Join_Control}> property. The change to the property was made |
| 85 | +in Perl 5.18, but not documented until now. There are currently only two code |
| 86 | +points that match this property: U+200C (ZERO WIDTH NON-JOINER) and U+200D |
| 87 | +(ZERO WIDTH JOINER). |
| 88 | + |
| 89 | +=back |
| 90 | + |
| 91 | +=head1 Platform Support |
| 92 | + |
| 93 | +=head2 Platform-Specific Notes |
| 94 | + |
| 95 | +=over 4 |
| 96 | + |
| 97 | +=item Windows |
| 98 | + |
| 99 | +Visual C++ compiler version detection has been improved to work on non-English |
| 100 | +language systems. |
| 101 | +L<[perl #132421]|https://rt.perl.org/Public/Bug/Display.html?id=132421> |
| 102 | + |
| 103 | +We now set C<$Config{libpth}> correctly for 64-bit builds using Visual C++ |
| 104 | +versions earlier than 14.1. |
| 105 | +L<[perl #132484]|https://rt.perl.org/Public/Bug/Display.html?id=132484> |
| 106 | + |
| 107 | +=back |
| 108 | + |
| 109 | +=head1 Selected Bug Fixes |
| 110 | + |
| 111 | +=over 4 |
| 112 | + |
| 113 | +=item * |
| 114 | + |
| 115 | +The C<readpipe()> built-in function now checks at compile time that it has only |
| 116 | +one parameter expression, and puts it in scalar context, thus ensuring that it |
| 117 | +doesn't corrupt the stack at runtime. |
| 118 | +L<[perl #4574]|https://rt.perl.org/Public/Bug/Display.html?id=4574> |
| 119 | + |
| 120 | +=item * |
| 121 | + |
| 122 | +Fixed a use after free bug in C<pp_list> introduced in Perl 5.27.1. |
| 123 | +L<[perl #131954]|https://rt.perl.org/Public/Bug/Display.html?id=131954> |
| 124 | + |
| 125 | +=item * |
| 126 | + |
| 127 | +Parsing a C<sub> definition could cause a use after free if the C<sub> keyword |
| 128 | +was followed by whitespace including newlines (and comments). |
| 129 | +L<[perl #131836]|https://rt.perl.org/Public/Bug/Display.html?id=131836> |
| 130 | + |
| 131 | +=item * |
| 132 | + |
| 133 | +The tokenizer now correctly adjusts a parse pointer when skipping whitespace in |
| 134 | +an C< ${identifier} > construct. |
| 135 | +L<[perl #131949]|https://rt.perl.org/Public/Bug/Display.html?id=131949> |
| 136 | + |
| 137 | +=item * |
| 138 | + |
| 139 | +Accesses to C<${^LAST_FH}> no longer assert after using any of a variety of I/O |
| 140 | +operations on a non-glob. |
| 141 | +L<[perl #128263]|https://rt.perl.org/Public/Bug/Display.html?id=128263> |
| 142 | + |
| 143 | +=item * |
| 144 | + |
| 145 | +C<sort> now performs correct reference counting when aliasing C<$a> and C<$b>, |
| 146 | +thus avoiding premature destruction and leakage of scalars if they are |
| 147 | +re-aliased during execution of the sort comparator. |
| 148 | +L<[perl #92264]|https://rt.perl.org/Public/Bug/Display.html?id=92264> |
| 149 | + |
| 150 | +=item * |
| 151 | + |
| 152 | +Some convoluted kinds of regexp no longer cause an arithmetic overflow when |
| 153 | +compiled. |
| 154 | +L<[perl #131893]|https://rt.perl.org/Public/Bug/Display.html?id=131893> |
| 155 | + |
| 156 | +=item * |
| 157 | + |
| 158 | +Fixed a duplicate symbol failure with B<-flto -mieee-fp> builds. F<pp.c> |
| 159 | +defined C<_LIB_VERSION> which B<-lieee> already defines. |
| 160 | +L<[perl #131786]|https://rt.perl.org/Public/Bug/Display.html?id=131786> |
| 161 | + |
| 162 | +=item * |
| 163 | + |
| 164 | +A NULL pointer dereference in the C<S_regmatch()> function has been fixed. |
| 165 | +L<[perl #132017]|https://rt.perl.org/Public/Bug/Display.html?id=132017> |
| 166 | + |
| 167 | +=item * |
| 168 | + |
| 169 | +Failures while compiling code within other constructs, such as with string |
| 170 | +interpolation and the right part of C<s///e> now cause compilation to abort |
| 171 | +earlier. |
| 172 | + |
| 173 | +Previously compilation could continue in order to report other errors, but the |
| 174 | +failed sub-parse could leave partly parsed constructs on the parser |
| 175 | +shift-reduce stack, confusing the parser, leading to perl crashes. |
| 176 | +L<[perl #125351]|https://rt.perl.org/Public/Bug/Display.html?id=125351> |
| 177 | + |
| 178 | +=back |
| 179 | + |
| 180 | +=head1 Acknowledgements |
| 181 | + |
| 182 | +Generated with: |
| 183 | + |
| 184 | + cperl Porting/acknowledgements.pl cperl-5.26.2..HEAD |
| 185 | + |
| 186 | +=head1 Reporting Bugs |
| 187 | + |
| 188 | +If you find what you think is a bug, you might check the articles recently |
| 189 | +posted to the comp.lang.perl.misc newsgroup and the perl bug database at |
| 190 | +L<https://rt.perl.org/> . There may also be information at |
| 191 | +L<http://www.perl.org/> , the Perl Home Page. |
| 192 | + |
| 193 | +If you believe you have an unreported bug, please run the L<cperlbug> program |
| 194 | +included with your release. Be sure to trim your bug down to a tiny but |
| 195 | +sufficient test case. Your bug report, along with the output of C<perl -V>, |
| 196 | +will be sent off to perlbug@perl.org to be analysed by the Perl porting team. |
| 197 | + |
| 198 | +If you think it's a cperl specific bug or trust the cperl developers more |
| 199 | +please file an issue at L<https://github.com/perl11/cperl/issues>. |
| 200 | + |
| 201 | +If the bug you are reporting has security implications which make it |
| 202 | +inappropriate to send to a publicly archived mailing list, then see |
| 203 | +L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> |
| 204 | +For details of how to report the issue. |
| 205 | + |
| 206 | +=head1 SEE ALSO |
| 207 | + |
| 208 | +The F<Changes> file for an explanation of how to view exhaustive details on |
| 209 | +what changed. |
| 210 | + |
| 211 | +The F<INSTALL> file for how to build Perl. |
| 212 | + |
| 213 | +The F<README> file for general stuff. |
| 214 | + |
| 215 | +The F<Artistic> and F<Copying> files for copyright information. |
| 216 | + |
| 217 | +=cut |
0 commit comments