perl5243cdelta - what is new for cperl v5.24.3
This document describes the differences between the cperl 5.24.2 and the cperl 5.24.3 releases.
If you are upgrading from an earlier release such as v5.24.1c, first read perl5242cdelta, which describes differences between v5.24.1c and v5.24.2c
POSIX 2008 demands such an umask, but it is still problematic on Solaris, HP-UX and AIX and older libcs, e.g. glibc <= 2.06. The old umask 0177 was insecure.
E.g. <$fh\000>
throws now the safe syscalls warning, and errors with Glob not terminated
, and does not pass the illegal glob path to the internal or external glob.
See [cperl #342]
Fixed two security issues with the chroot op:
* fail on embedded NUL in the chroot argument. Set errno
to EINVAL.
* If a call to chroot is not followed by a call to chdir("/") the chroot jail confinement can be violated. In Perl_pp_chroot: A call to chroot followed by an operation that may escape from the chroot jail. Coverity CID #165302 Insecure chroot.
Compiling certain regular expression patterns with the case-insensitive modifier could cause a heap buffer overflow and crash perl. This has now been fixed. [perl #131582]
For certain types of syntax error in a regular expression pattern, the error message could either contain the contents of a random, possibly large, chunk of memory, or could crash perl. This has now been fixed. [perl #131598]
$ENV{$key}
stack buffer overflow on WindowsA possible stack buffer overflow in the %ENV
code on Windows has been fixed by removing the buffer completely since it was superfluous anyway. [perl #131665]
'0' is a valid name for an archive, change 'iter' to check definedness. See https://metacpan.org/changes/distribution/Archive-Tar
pod updates
plus our FLAG_APPEND_OUTPUT patches
plus our patches. https://github.com/madler/zlib/pull/329
Update from upstream 2.16, plus keep our cperl and secure YAML:::XS support.
Simplify allow_singlequote
check, coverity cid #165321. Remove logical dead code.
But skip UpDowngrade() on CORE for reproducible builds
hpux should not use lftp. Switch test URL from www.cpan.org to httpbin.org
Remove erroneous documentation. Correct skip count for Windows. Comment out two TODO tests. Make subdirectory names used in tests more random
Various small documentation fixes. Filter::Simple was erroneously signalling eof if it encountered a ‘no MyFilter’ right after ‘use’: use MyFilter; no MyFilter; In this case it should simply not filter anything.
XSLoader, our. defer Carp. add filter_read_exact tests.
from latest cperl.
ISA fixes for c3 (by cperl) [cpan #120239]
cperl: Keep our t/encode.pl fixes
Fix new Autovivified hash slice warning. Keep demand-load Carp patch.
flapping 01_IPC-Cmd.t appveyor test
Enhancements: Added wait_loop_callback for run_forked()
Bug fixes: Only search in curdir in can_run() when on Win32 RT#105601
Merged 2.97001 from cpan with ours.
Deprecated from CORE with 5.28.
2 new tests files from Math-BigInt.
Math::BigInt::FastCalc is now a subclass of Math::BigInt::Calc, so remove aliases like *Math::BigInt::FastCalc::_xxx = \&Math::BigInt::Calc::_xxx.
Use OO-calls rather than function calls. (i.e slower but overridable)
Fix problem with second operand being changed in multiplication (CPAN RT #121139).
And keep our cperl test fixes. See github.com:rurban/Math-BigRat branch cperl
cperl fix for darwin to use hostname, suse fix for utf8 Net::Cmd
3-arg open
Updated from 3.01, many critical fixes.
t/porting/cmp_version.t was fixed together with EUMM to handle parsing versions from filehandles. Backported.
Fixed wrong panic: distributed hash flood
when dealing with large %^H
hints hashes, with >127 entries, such as _charnames.pm
in Regexp::Common
. Fixed the logic dealing with such a hints hash. [cperl #350].
Fixed return type of DynaLoader::dl_find_symbol_anywhere()
, the address, not the name. [cperl #352].
Some regular expression parsing glitches could lead to assertion failures with regular expressions such as /(?<=/
and /(?<!/
. [perl #128170]
In v5.24.0c fchown
was changed not to accept negative one as an argument because in some platforms that is an error. However, in some other platforms that is an acceptable argument. This change has been reverted. [perl #128967].
A regression in Perl 5.24 with tr/\N{U+...}/foo/
when the code point was between 128 and 255 has been fixed. [perl #128734].
A vulnerability in Perl's sprintf
implementation has been fixed by avoiding a possible memory wrap. [perl #131260]
The parser could sometimes crash if a bareword came after evalbytes
. [perl #129196]
Many issues relating to printf "%a"
of hexadecimal floating point were fixed. In addition, the "subnormals" (formerly known as "denormals") floating point numbers are now supported both with the plain IEEE 754 floating point numbers (64-bit or 128-bit) and the x86 80-bit "extended precision". Note that subnormal hexadecimal floating point literals will give a warning about "exponent underflow". [perl #128843] [perl #128888] [perl #128889] [perl #128890] [perl #128893] [perl #128909] [perl #128919]
Fixed a place where the regex parser was not setting the syntax error correctly on a syntactically incorrect pattern. [perl #129122]
Fixed a memory leak in list assign from/to magic values, added with v5.23.6. [perl #130766]
configure.com
now recognizes the VSI-branded C compiler.
Building XS modules with GCC 6 in a 64-bit build of Perl failed due to incorrect mapping of strtoll
and strtoull
. This has now been fixed. [perl #131726] [cpan #121683] [cpan #122353]
cperl 5.24.3 represents approximately 13 months of development since cperl 5.24.2c and contains approximately 190,000 lines of changes across 1,200 files from 12 authors.
Excluding auto-generated files, documentation and release tools, there were approximately 75,000 lines of changes to 830 .pm, .t, .c and .h files.
The following people are known to have contributed the improvements that became cperl 5.24.3:
Reini Urban, Jarkko Hietaniemi, Karl Williamson, David Mitchell, Steve Hay, Craig A. Berry, James E Keenan, Dan Collins, Slaven Rezic, Tony Cook, Steven Humphrey, Dave Cross.
The list above is almost certainly incomplete as it is automatically generated from version control history including the perl and cperl repos. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker and the cperl github issues.
Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.
For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.
Generated this with:
cperl Porting/acknowledgements.pl cperl-5.24.2..HEAD -c
If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at https://rt.perl.org/ . There may also be information at http://www.perl.org/ , the Perl Home Page.
If you believe you have an unreported bug, please run the cperlbug program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of perl -V
, will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
If you think it's a cperl specific bug or trust the cperl developers more please file an issue at https://github.com/perl11/cperl/issues.
If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec For details of how to report the issue.
The Changes file for an explanation of how to view exhaustive details on what changed.
The INSTALL file for how to build Perl.
The README file for general stuff.
The Artistic and Copying files for copyright information.