404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.14.249.102: ~ $
=encoding utf8

=head1 NAME

perl5222delta - what is new for perl v5.22.2

=head1 DESCRIPTION

This document describes differences between the 5.22.1 release and the 5.22.2
release.

If you are upgrading from an earlier release such as 5.22.0, first read
L<perl5221delta>, which describes differences between 5.22.0 and 5.22.1.

=head1 Security

=head2 Fix out of boundary access in Win32 path handling

This is CVE-2015-8608.  For more information see
L<[perl #126755]|https://rt.perl.org/Ticket/Display.html?id=126755>.

=head2 Fix loss of taint in C<canonpath()>

This is CVE-2015-8607.  For more information see
L<[perl #126862]|https://rt.perl.org/Ticket/Display.html?id=126862>.

=head2 Set proper umask before calling C<mkstemp(3)>

In 5.22.0 perl started setting umask to C<0600> before calling C<mkstemp(3)>
and restoring it afterwards.  This wrongfully tells C<open(2)> to strip the
owner read and write bits from the given mode before applying it, rather than
the intended negation of leaving only those bits in place.

Systems that use mode C<0666> in C<mkstemp(3)> (like old versions of glibc)
create a file with permissions C<0066>, leaving world read and write permissions
regardless of current umask.

This has been fixed by using umask C<0177> instead.

L<[perl #127322]|https://rt.perl.org/Ticket/Display.html?id=127322>

=head2 Avoid accessing uninitialized memory in Win32 C<crypt()>

Validation that will detect both a short salt and invalid characters in the
salt has been added.

L<[perl #126922]|https://rt.perl.org/Ticket/Display.html?id=126922>

=head2 Remove duplicate environment variables from C<environ>

Previously, if an environment variable appeared more than once in C<environ[]>,
L<C<%ENV>|perlvar/%ENV> would contain the last entry for that name, while a
typical C<getenv()> would return the first entry.  We now make sure C<%ENV>
contains the same as what C<getenv()> returns.

Secondly, we now remove duplicates from C<environ[]>, so if a setting with that
name is set in C<%ENV> we won't pass an unsafe value to a child process.

This is CVE-2016-2381.

=head1 Incompatible Changes

There are no changes intentionally incompatible with Perl 5.22.1.  If any
exist, they are bugs, and we request that you submit a report.  See
L</Reporting Bugs> below.

=head1 Modules and Pragmata

=head2 Updated Modules and Pragmata

=over 4

=item *

L<File::Spec> has been upgraded from version 3.56 to 3.56_01.

C<canonpath()> now preserves taint.  See L</"Fix loss of taint in
C<canonpath()>">.

=item *

L<Module::CoreList> has been upgraded from version 5.20151213 to 5.20160429.

The version number of L<Digest::SHA> listed for Perl 5.18.4 was wrong and has
been corrected.  Likewise for the version number of L<Config> in 5.18.3 and
5.18.4.
L<[perl #127624]|https://rt.perl.org/Ticket/Display.html?id=127624>

=back

=head1 Documentation

=head2 Changes to Existing Documentation

=head3 L<perldiag>

=over 4

=item *

The explanation of the warning "unable to close filehandle %s properly: %s"
which can occur when doing an implicit close of a filehandle has been expanded
and improved.

=back

=head3 L<perlfunc>

=over 4

=item *

The documentation of L<C<hex()>|perlfunc/hex> has been revised to clarify valid
inputs.

=back

=head1 Configuration and Compilation

=over 4

=item *

Dtrace builds now build successfully on systems with a newer dtrace that
require an input object file that uses the probes in the F<.d> file.

Previously the probe would fail and cause a build failure.

L<[perl #122287]|https://rt.perl.org/Ticket/Display.html?id=122287>

=item *

F<Configure> no longer probes for F<libnm> by default.  Originally this was the
"New Math" library, but the name has been re-used by the GNOME NetworkManager.

L<[perl #127131]|https://rt.perl.org/Ticket/Display.html?id=127131>

=item *

F<Configure> now knows about gcc 5.

=item *

Compiling perl with B<-DPERL_MEM_LOG> now works again.

=back

=head1 Platform Support

=head2 Platform-Specific Notes

=over 4

=item Darwin

Compiling perl with B<-Dusecbacktrace> on Darwin now works again.

L<[perl #127764]|https://rt.perl.org/Ticket/Display.html?id=127764>

=item OS X/Darwin

Builds with both B<-DDEBUGGING> and threading enabled would fail with a "panic:
free from wrong pool" error when built or tested from Terminal on OS X.  This
was caused by perl's internal management of the environment conflicting with an
atfork handler using the libc C<setenv()> function to update the environment.

Perl now uses C<setenv()>/C<unsetenv()> to update the environment on OS X.

L<[perl #126240]|https://rt.perl.org/Ticket/Display.html?id=126240>

=item ppc64el

The floating point format of ppc64el (Debian naming for little-endian PowerPC)
is now detected correctly.

=item Tru64

A test failure in F<t/porting/extrefs.t> has been fixed.

=back

=head1 Internal Changes

=over 4

=item *

An unwarranted assertion in C<Perl_newATTRSUB_x()> has been removed.  If a stub
subroutine definition with a prototype has been seen, then any subsequent stub
(or definition) of the same subroutine with an attribute was causing an
assertion failure because of a null pointer.

L<[perl #126845]|https://rt.perl.org/Ticket/Display.html?id=126845>

=back

=head1 Selected Bug Fixes

=over 4

=item *

Calls to the placeholder C<&PL_sv_yes> used internally when an C<import()> or
C<unimport()> method isn't found now correctly handle scalar context.
L<[perl #126042]|https://rt.perl.org/Ticket/Display.html?id=126042>

=item *

The L<C<pipe()>|perlfunc/pipe> operator would assert for C<DEBUGGING> builds
instead of producing the correct error message.  The condition asserted on is
detected and reported on correctly without the assertions, so the assertions
were removed.
L<[perl #126480]|https://rt.perl.org/Ticket/Display.html?id=126480>

=item *

In some cases, failing to parse a here-doc would attempt to use freed memory.
This was caused by a pointer not being restored correctly.
L<[perl #126443]|https://rt.perl.org/Ticket/Display.html?id=126443>

=item *

Perl now reports more context when it sees an array where it expects to see an
operator, and avoids an assertion failure.
L<[perl #123737]|https://rt.perl.org/Ticket/Display.html?id=123737>

=item *

If a here-doc was found while parsing another operator, the parser had already
read end of file, and the here-doc was not terminated, perl could produce an
assertion or a segmentation fault.  This now reliably complains about the
unterminated here-doc.
L<[perl #125540]|https://rt.perl.org/Ticket/Display.html?id=125540>

=item *

Parsing beyond the end of the buffer when processing a C<#line> directive with
no filename is now avoided.
L<[perl #127334]|https://rt.perl.org/Ticket/Display.html?id=127334>

=item *

Perl 5.22.0 added support for the C99 hexadecimal floating point notation, but
sometimes misparsed hex floats.  This has been fixed.
L<[perl #127183]|https://rt.perl.org/Ticket/Display.html?id=127183>

=item *

Certain regex patterns involving a complemented posix class in an inverted
bracketed character class, and matching something else optionally would
improperly fail to match.  An example of one that could fail is
C<qr/_?[^\Wbar]\x{100}/>.  This has been fixed.
L<[perl #127537]|https://rt.perl.org/Ticket/Display.html?id=127537>

=item *

Fixed an issue with L<C<pack()>|perlfunc/pack> where C<< pack "H" >> (and
C<< pack "h" >>) could read past the source when given a non-utf8 source and a
utf8 target.
L<[perl #126325]|https://rt.perl.org/Ticket/Display.html?id=126325>

=item *

Fixed some cases where perl would abort due to a segmentation fault, or a
C-level assert.
L<[perl #126193]|https://rt.perl.org/Ticket/Display.html?id=126193>
L<[perl #126257]|https://rt.perl.org/Ticket/Display.html?id=126257>
L<[perl #126258]|https://rt.perl.org/Ticket/Display.html?id=126258>
L<[perl #126405]|https://rt.perl.org/Ticket/Display.html?id=126405>
L<[perl #126602]|https://rt.perl.org/Ticket/Display.html?id=126602>
L<[perl #127773]|https://rt.perl.org/Ticket/Display.html?id=127773>
L<[perl #127786]|https://rt.perl.org/Ticket/Display.html?id=127786>

=item *

A memory leak when setting C<$ENV{foo}> on Darwin has been fixed.
L<[perl #126240]|https://rt.perl.org/Ticket/Display.html?id=126240>

=item *

Perl now correctly raises an error when trying to compile patterns with
unterminated character classes while there are trailing backslashes.
L<[perl #126141]|https://rt.perl.org/Ticket/Display.html?id=126141>

=item *

C<NOTHING> regops and C<EXACTFU_SS> regops in C<make_trie()> are now handled
properly.
L<[perl #126206]|https://rt.perl.org/Ticket/Display.html?id=126206>

=item *

Perl now only tests C<semctl()> if we have everything needed to use it.  In
FreeBSD the C<semctl()> entry point may exist, but it can be disabled by
policy.
L<[perl #127533]|https://rt.perl.org/Ticket/Display.html?id=127533>

=item *

A regression that allowed undeclared barewords as hash keys to work despite
strictures has been fixed.
L<[perl #126981]|https://rt.perl.org/Ticket/Display.html?id=126981>

=item *

As an optimization (introduced in Perl 5.20.0), L<C<uc()>|perlfunc/uc>,
L<C<lc()>|perlfunc/lc>, L<C<ucfirst()>|perlfunc/ucfirst> and
L<C<lcfirst()>|perlfunc/lcfirst> sometimes modify their argument in-place
rather than returning a modified copy.  The criteria for this optimization has
been made stricter to avoid these functions accidentally modifying in-place
when they should not, which has been happening in some cases, e.g. in
L<List::Util>.

=item *

Excessive memory usage in the compilation of some regular expressions involving
non-ASCII characters has been reduced.  A more complete fix is forthcoming in
Perl 5.24.0.

=back

=head1 Acknowledgements

Perl 5.22.2 represents approximately 5 months of development since Perl 5.22.1
and contains approximately 3,000 lines of changes across 110 files from 24
authors.

Excluding auto-generated files, documentation and release tools, there were
approximately 1,500 lines of changes to 52 .pm, .t, .c and .h files.

Perl continues to flourish into its third decade thanks to a vibrant community
of users and developers.  The following people are known to have contributed
the improvements that became Perl 5.22.2:

Aaron Crane, Abigail, Andreas König, Aristotle Pagaltzis, Chris 'BinGOs'
Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, David Golden, David
Mitchell, H.Merijn Brand, James E Keenan, Jarkko Hietaniemi, Karen Etheridge,
Karl Williamson, Matthew Horsfall, Niko Tyni, Ricardo Signes, Sawyer X, Stevan
Little, Steve Hay, Todd Rinaldo, Tony Cook, Vladimir Timofeev, Yves Orton.

The list above is almost certainly incomplete as it is automatically generated
from version control history.  In particular, it does not include the names of
the (very much appreciated) contributors who reported issues to the Perl bug
tracker.

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 F<AUTHORS> file in the Perl source distribution.

=head1 Reporting Bugs

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 L<perlbug> 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 C<perl -V>,
will be sent off to perlbug@perl.org to be analysed by the Perl porting team.

If the bug you are reporting has security implications, which make it
inappropriate to send to a publicly archived mailing list, then please send it
to perl5-security-report@perl.org.  This points to a closed subscription
unarchived mailing list, which includes all the core committers, who will be
able to help assess the impact of issues, figure out a resolution, and help
co-ordinate the release of patches to mitigate or fix the problem across all
platforms on which Perl is supported.  Please only use this address for
security issues in the Perl core, not for modules independently distributed on
CPAN.

=head1 SEE ALSO

The F<Changes> file for an explanation of how to view exhaustive details on
what changed.

The F<INSTALL> file for how to build Perl.

The F<README> file for general stuff.

The F<Artistic> and F<Copying> files for copyright information.

=cut

Filemanager

Name Type Size Permission Actions
perl.pod File 15.89 KB 0644
perl5004delta.pod File 54.92 KB 0644
perl5005delta.pod File 33.48 KB 0644
perl5100delta.pod File 54.23 KB 0644
perl5101delta.pod File 42.86 KB 0644
perl5120delta.pod File 87.18 KB 0644
perl5121delta.pod File 9.9 KB 0644
perl5122delta.pod File 9.38 KB 0644
perl5123delta.pod File 4 KB 0644
perl5124delta.pod File 3.59 KB 0644
perl5125delta.pod File 7.5 KB 0644
perl5140delta.pod File 140.94 KB 0644
perl5141delta.pod File 7.78 KB 0644
perl5142delta.pod File 6.73 KB 0644
perl5143delta.pod File 7.58 KB 0644
perl5144delta.pod File 6.18 KB 0644
perl5160delta.pod File 130.52 KB 0644
perl5161delta.pod File 6 KB 0644
perl5162delta.pod File 3.51 KB 0644
perl5163delta.pod File 3.99 KB 0644
perl5180delta.pod File 116.63 KB 0644
perl5181delta.pod File 6.44 KB 0644
perl5182delta.pod File 5.21 KB 0644
perl5184delta.pod File 4.53 KB 0644
perl5200delta.pod File 112.99 KB 0644
perl5201delta.pod File 10.64 KB 0644
perl5202delta.pod File 12.22 KB 0644
perl5203delta.pod File 9.17 KB 0644
perl5220delta.pod File 127.89 KB 0644
perl5221delta.pod File 10.51 KB 0644
perl5222delta.pod File 12.33 KB 0644
perl5223delta.pod File 8.26 KB 0644
perl5224delta.pod File 4.36 KB 0644
perl5240delta.pod File 63.41 KB 0644
perl5241delta.pod File 8.02 KB 0644
perl5242delta.pod File 4.02 KB 0644
perl5243delta.pod File 11.16 KB 0644
perl5244delta.pod File 4.4 KB 0644
perl5260delta.pod File 99.45 KB 0644
perl5261delta.pod File 7.74 KB 0644
perl5262delta.pod File 7.7 KB 0644
perl5263delta.pod File 6.9 KB 0644
perl5280delta.pod File 70.42 KB 0644
perl561delta.pod File 121.79 KB 0644
perl56delta.pod File 104.69 KB 0644
perl581delta.pod File 37.17 KB 0644
perl582delta.pod File 4.37 KB 0644
perl583delta.pod File 6.19 KB 0644
perl584delta.pod File 7.19 KB 0644
perl585delta.pod File 5.75 KB 0644
perl586delta.pod File 4.54 KB 0644
perl587delta.pod File 8.16 KB 0644
perl588delta.pod File 24.68 KB 0644
perl589delta.pod File 52.64 KB 0644
perl58delta.pod File 112.47 KB 0644
perlaix.pod File 19.96 KB 0644
perlamiga.pod File 5.61 KB 0644
perlandroid.pod File 7.69 KB 0644
perlapi.pod File 433.14 KB 0644
perlapio.pod File 18.83 KB 0644
perlartistic.pod File 6.85 KB 0644
perlbook.pod File 8.14 KB 0644
perlboot.pod File 294 B 0644
perlbot.pod File 304 B 0644
perlbs2000.pod File 7.87 KB 0644
perlcall.pod File 55.38 KB 0644
perlce.pod File 14.26 KB 0644
perlcheat.pod File 4.38 KB 0644
perlclib.pod File 9.39 KB 0644
perlcn.pod File 4.58 KB 0644
perlcommunity.pod File 7.05 KB 0644
perlcygwin.pod File 26.56 KB 0644
perldata.pod File 45.65 KB 0644
perldbmfilter.pod File 4.86 KB 0644
perldebguts.pod File 37.63 KB 0644
perldebtut.pod File 21.63 KB 0644
perldebug.pod File 38.34 KB 0644
perldelta.pod File 6.9 KB 0644
perldeprecation.pod File 17.74 KB 0644
perldiag.pod File 277.9 KB 0644
perldos.pod File 10.28 KB 0644
perldsc.pod File 25.01 KB 0644
perldtrace.pod File 7.77 KB 0644
perlebcdic.pod File 82.26 KB 0644
perlembed.pod File 36.32 KB 0644
perlexperiment.pod File 7.03 KB 0644
perlfork.pod File 13.04 KB 0644
perlform.pod File 16.22 KB 0644
perlfreebsd.pod File 1.57 KB 0644
perlfunc.pod File 383.75 KB 0644
perlgit.pod File 32.72 KB 0644
perlgpl.pod File 13.49 KB 0644
perlguts.pod File 136.06 KB 0644
perlhack.pod File 39.5 KB 0644
perlhacktips.pod File 54.21 KB 0644
perlhacktut.pod File 6.01 KB 0644
perlhaiku.pod File 1.47 KB 0644
perlhist.pod File 52.29 KB 0644
perlhpux.pod File 29.79 KB 0644
perlhurd.pod File 1.95 KB 0644
perlintern.pod File 53.29 KB 0644
perlinterp.pod File 32.9 KB 0644
perlintro.pod File 21.6 KB 0644
perliol.pod File 33.38 KB 0644
perlipc.pod File 69.17 KB 0644
perlirix.pod File 4.29 KB 0644
perljp.pod File 7.34 KB 0644
perlko.pod File 11.97 KB 0644
perllexwarn.pod File 355 B 0644
perllinux.pod File 1.45 KB 0644
perllocale.pod File 67.07 KB 0644
perllol.pod File 9.36 KB 0644
perlmacos.pod File 1001 B 0644
perlmacosx.pod File 11.78 KB 0644
perlmod.pod File 25.63 KB 0644
perlmodinstall.pod File 12.49 KB 0644
perlmodlib.pod File 74.69 KB 0644
perlmodstyle.pod File 22.05 KB 0644
perlmroapi.pod File 3.14 KB 0644
perlnetware.pod File 6.49 KB 0644
perlnewmod.pod File 10.78 KB 0644
perlnumber.pod File 8.16 KB 0644
perlobj.pod File 34.7 KB 0644
perlootut.pod File 26.16 KB 0644
perlop.pod File 133.06 KB 0644
perlopenbsd.pod File 1.18 KB 0644
perlopentut.pod File 9.23 KB 0644
perlos2.pod File 91.16 KB 0644
perlos390.pod File 15.31 KB 0644
perlos400.pod File 4.66 KB 0644
perlpacktut.pod File 50.08 KB 0644
perlperf.pod File 48.71 KB 0644
perlplan9.pod File 5 KB 0644
perlpod.pod File 21.68 KB 0644
perlpodspec.pod File 66.87 KB 0644
perlpolicy.pod File 25.03 KB 0644
perlport.pod File 85.55 KB 0644
perlpragma.pod File 5.05 KB 0644
perlqnx.pod File 6.52 KB 0644
perlre.pod File 118.07 KB 0644
perlreapi.pod File 29.62 KB 0644
perlrebackslash.pod File 31.07 KB 0644
perlrecharclass.pod File 47.88 KB 0644
perlref.pod File 34.48 KB 0644
perlreftut.pod File 18.35 KB 0644
perlreguts.pod File 37.43 KB 0644
perlrepository.pod File 509 B 0644
perlrequick.pod File 18.06 KB 0644
perlreref.pod File 14.4 KB 0644
perlretut.pod File 118.42 KB 0644
perlriscos.pod File 1.49 KB 0644
perlrun.pod File 52.29 KB 0644
perlsec.pod File 25.57 KB 0644
perlsolaris.pod File 29.12 KB 0644
perlsource.pod File 6.71 KB 0644
perlstyle.pod File 8.43 KB 0644
perlsub.pod File 71.26 KB 0644
perlsymbian.pod File 15 KB 0644
perlsyn.pod File 43.47 KB 0644
perlsynology.pod File 7.6 KB 0644
perlthrtut.pod File 45.37 KB 0644
perltie.pod File 37.7 KB 0644
perltoc.pod File 677.89 KB 0644
perltodo.pod File 376 B 0644
perltooc.pod File 294 B 0644
perltoot.pod File 294 B 0644
perltrap.pod File 10.37 KB 0644
perltru64.pod File 8.29 KB 0644
perltw.pod File 4.37 KB 0644
perlunicode.pod File 80.56 KB 0644
perlunicook.pod File 24.89 KB 0644
perlunifaq.pod File 13.33 KB 0644
perluniintro.pod File 37.44 KB 0644
perluniprops.pod File 278.62 KB 0644
perlunitut.pod File 7.76 KB 0644
perlutil.pod File 7.46 KB 0644
perlvar.pod File 76.53 KB 0644
perlvms.pod File 49.63 KB 0644
perlvos.pod File 3.75 KB 0644
perlwin32.pod File 38.38 KB 0644
perlxs.pod File 77.07 KB 0644
perlxstut.pod File 48.92 KB 0644
perlxstypemap.pod File 23.44 KB 0644