Cari di Perl 
    Perl Tutorial
Daftar Isi
(Sebelumnya) What is new for perl v5.16.0What is new for perl v5.14.1 (Berikutnya)
History-Changes

What is new for perl v5.14.2

Daftar Isi

NAME

perl5142delta - what is new for perl v5.14.2

DESCRIPTION

This document describes differences between the 5.14.1 release andthe 5.14.2 release.

If you are upgrading from an earlier release such as 5.14.0, first readperl5141delta, which describes differences between 5.14.0 and5.14.1.

Core Enhancements

No changes since 5.14.0.

Security

File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).

Calling File::Glob::bsd_glob with the unsupported flag GLOB_ALTDIRFUNC wouldcause an access violation / segfault. A Perl program that accepts a flags value froman external source could expose itself to denial of service or arbitrary codeexecution attacks. There are no known exploits in the wild. The problem has beencorrected by explicitly disabling all unsupported flags and setting unused functionpointers to null. Bug reported by Clément Lecigne.

Encode decode_xs n-byte heap-overflow (CVE-2011-2939)

A bug in Encode could, on certain inputs, cause the heap to overflow.This problem has been corrected. Bug reported by Robert Zacek.

Incompatible Changes

There are no changes intentionally incompatible with 5.14.0. If anyexist, they are bugs and reports are welcome.

Deprecations

There have been no deprecations since 5.14.0.

Modules and Pragmata

New Modules and Pragmata

None

Updated Modules and Pragmata

  • CPAN has been upgraded from version 1.9600 to version 1.9600_01.

    CPAN::Distribution has been upgraded from version 1.9602 to 1.9602_01.

    Backported bugfixes from CPAN version 1.9800. Ensures properdetection of configure_requires prerequisites from CPAN Meta filesin the case where dynamic_config is true. [rt.cpan.org #68835]

    Also ensures that configure_requires is only checked in META files,not MYMETA files, so protect against MYMETA generation that dropsconfigure_requires.

  • Encode has been upgraded from version 2.42 to 2.42_01.

    See Security.

  • File::Glob has been upgraded from version 1.12 to version 1.13.

    See Security.

  • PerlIO::scalar has been upgraded from version 0.11 to 0.11_01.

    It fixes a problem with open my $fh, ">", \$scalar not working if$scalar is a copy-on-write scalar.

Removed Modules and Pragmata

None

Platform Support

New Platforms

None

Discontinued Platforms

None

Platform-Specific Notes

  • HP-UX PA-RISC/64 now supports gcc-4.x

    A fix to correct the socketsize now makes the test suite pass on HP-UXPA-RISC for 64bitall builds.

  • Building on OS X 10.7 Lion and Xcode 4 works again

    The build system has been updated to work with the build tools under Mac OS X10.7.

Bug Fixes

  • In @INC filters (subroutines returned by subroutines in @INC), $_ used tomisbehave: If returned from a subroutine, it would not be copied, but thevariable itself would be returned; and freeing $_ (e.g., with undef *_)would cause perl to crash. This has been fixed [perl #91880].

  • Perl 5.10.0 introduced some faulty logic that made "U*" in the middle ofa pack template equivalent to "U0" if the input string was empty. This hasbeen fixed [perl #90160].

  • caller no longer leaks memory when called from the DB package if@DB::args was assigned to after the first call to caller. Carpwas triggering this bug [perl #97010].

  • utf8::decode had a nasty bug that would modify copy-on-write scalars'string buffers in place (i.e., skipping the copy). This could result inhashes having two elements with the same key [perl #91834].

  • Localising a tied variable used to make it read-only if it contained acopy-on-write string.

  • Elements of restricted hashes (see the fields pragma) containingcopy-on-write values couldn't be deleted, nor could such hashes be cleared(%hash = ()).

  • Locking a hash element that is a glob copy no longer causes subsequentassignment to it to corrupt the glob.

  • A panic involving the combination of the regular expression modifiers/aa introduced in 5.14.0 and the \b escape sequence has beenfixed [perl #95964].

Known Problems

This is a list of some significant unfixed bugs, which are regressionsfrom 5.12.0.

  • PERL_GLOBAL_STRUCT is broken.

    Since perl 5.14.0, building with -DPERL_GLOBAL_STRUCT hasn't beenpossible. This means that perl currently doesn't work on any platforms thatrequire it to be built this way, including Symbian.

    While PERL_GLOBAL_STRUCT now works again on recent development versions ofperl, it actually working on Symbian again hasn't been verified.

    We'd be very interested in hearing from anyone working with Perl on Symbian.

Acknowledgements

Perl 5.14.2 represents approximately three months of development sincePerl 5.14.1 and contains approximately 1200 lines of changesacross 61 files from 9 authors.

Perl continues to flourish into its third decade thanks to a vibrantcommunity of users and developers. The following people are known tohave contributed the improvements that became Perl 5.14.2:

Craig A. Berry, David Golden, Father Chrysostomos, Florian Ragwitz, H.MerijnBrand, Karl Williamson, Nicholas Clark, Pau Amma and Ricardo Signes.

Reporting Bugs

If you find what you think is a bug, you might check the articlesrecently posted to the comp.lang.perl.misc newsgroup and the perlbug database at http://rt.perl.org/perlbug/ . There may also beinformation at http://www.perl.org/ , the Perl Home Page.

If you believe you have an unreported bug, please run the perlbugprogram included with your release. Be sure to trim your bug downto a tiny but sufficient test case. Your bug report, along with theoutput of perl -V, will be sent off to [email protected] to beanalysed by the Perl porting team.

If the bug you are reporting has security implications, which make itinappropriate to send to a publicly archived mailing list, then please sendit to [email protected]. This points to a closed subscriptionunarchived mailing list, which includes all the core committers, who be ableto help assess the impact of issues, figure out a resolution, and helpco-ordinate the release of patches to mitigate or fix the problem across allplatforms on which Perl is supported. Please only use this address forsecurity issues in the Perl core, not for modules independentlydistributed on CPAN.

SEE ALSO

The Changes file for an explanation of how to view exhaustive detailson what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.

Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) What is new for perl v5.16.0What is new for perl v5.14.1 (Berikutnya)