=encoding euc-jp =head1 NAME =begin original perldelta - what is new for perl v5.24.3 =end original perl5243delta - perl v5.24.3 での変更点 =head1 DESCRIPTION =begin original This document describes differences between the 5.24.2 release and the 5.24.3 release. =end original この文書は 5.24.2 リリースと 5.24.3 リリースの変更点を記述しています。 =begin original If you are upgrading from an earlier release such as 5.24.1, first read L, which describes differences between 5.24.1 and 5.24.2. =end original 5.24.1 のような以前のリリースから更新する場合は、まず 5.24.1 と 5.24.2 の違いについて記述している L を読んでください。 =head1 Security (セキュリティ) =head2 [CVE-2017-12837] Heap buffer overflow in regular expression compiler =begin original Compiling certain regular expression patterns with the case-insensitive modifier could cause a heap buffer overflow and crash perl. This has now been fixed. L<[perl #131582]|https://rt.perl.org/Public/Bug/Display.html?id=131582> =end original 大文字小文字無視修飾子付きのある種の正規表現パターンのコンパイル時に ヒープバッファオーバーフローを引き起こして perl が クラッシュすることがありました。 これは修正されました。 L<[perl #131582]|https://rt.perl.org/Public/Bug/Display.html?id=131582> =head2 [CVE-2017-12883] Buffer over-read in regular expression parser =begin original 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. L<[perl #131598]|https://rt.perl.org/Public/Bug/Display.html?id=131598> =end original ある種の正規表現パターンの文法エラーにおいて、エラーメッセージが長くて ランダムなメモリの塊の内容を含んでいたり、perl が クラッシュしたりすることがありました。 これは修正されました。 L<[perl #131598]|https://rt.perl.org/Public/Bug/Display.html?id=131598> =head2 [CVE-2017-12814] C<$ENV{$key}> stack buffer overflow on Windows =begin original A possible stack buffer overflow in the C<%ENV> code on Windows has been fixed by removing the buffer completely since it was superfluous anyway. L<[perl #131665]|https://rt.perl.org/Public/Bug/Display.html?id=131665> =end original Windows での C<%ENV> コード中でのバッファオーバーフローの可能性が 修正されました; どちらにしろこれは不要だったので、バッファを完全に 取り除きました。 L<[perl #131665]|https://rt.perl.org/Public/Bug/Display.html?id=131665> =head1 Incompatible Changes (互換性のない変更) =begin original There are no changes intentionally incompatible with 5.24.2. If any exist, they are bugs, and we request that you submit a report. See L below. =end original 故意に、5.24.2 から互換性がなくなるようにした変更はありません。 もし 5.24.2 との互換性がなければ、それはバグですので、報告をお願いします。 以下の L を参照してください。 =head1 Modules and Pragmata (モジュールとプラグマ) =head2 Updated Modules and Pragmata (更新されたモジュールとプラグマ) =over 4 =item * =begin original L has been upgraded from version 5.20170715_24 to 5.20170922_24. =end original L はバージョン 5.20170715_24 から 5.20170922_24 に更新されました。 =item * =begin original L has been upgraded from version 1.65 to 1.65_01. =end original L はバージョン 1.65 から 1.65_01 に更新されました。 =item * =begin original L has been upgraded from version 1.9733 to 1.9741. =end original L はバージョン 1.9733 から 1.9741 に更新されました。 L<[perl #128427]|https://rt.perl.org/Public/Bug/Display.html?id=128427> L<[perl #128445]|https://rt.perl.org/Public/Bug/Display.html?id=128445> L<[perl #128972]|https://rt.perl.org/Public/Bug/Display.html?id=128972> L<[cpan #120032]|https://rt.cpan.org/Public/Bug/Display.html?id=120032> =back =head1 Configuration and Compilation (設定とコンパイル) =over 4 =item * =begin original When building with GCC 6 and link-time optimization (the B<-flto> option to B), F was treating all probed symbols as present on the system, regardless of whether they actually exist. This has been fixed. L<[perl #128131]|https://rt.perl.org/Public/Bug/Display.html?id=128131> =end original GCC 6 とリンク時最適化 (C の C<-flto> オプション) でビルドされたとき、 F はプローブされたシンボルに関して、実際に存在するかどうかに 関わらず全て存在するものとして扱っていました。 これは修正されました。 L<[perl #128131]|https://rt.perl.org/Public/Bug/Display.html?id=128131> =item * =begin original F now aborts if both C<-Duselongdouble> and C<-Dusequadmath> are requested. L<[perl #126203]|https://rt.perl.org/Public/Bug/Display.html?id=126203> =end original F は、C<-Duselongdouble> と C<-Dusequadmath> の両方が 要求された場合は中断するようになりました。 L<[perl #126203]|https://rt.perl.org/Public/Bug/Display.html?id=126203> =item * =begin original Fixed a bug in which F could append C<-quadmath> to the archname even if it was already present. L<[perl #128538]|https://rt.perl.org/Public/Bug/Display.html?id=128538> =end original F が、既に存在していても archname に C<-quadmath> を 追加することがあるバグが修正されました。 L<[perl #128538]|https://rt.perl.org/Public/Bug/Display.html?id=128538> =item * =begin original Clang builds with C<-DPERL_GLOBAL_STRUCT> or C<-DPERL_GLOBAL_STRUCT_PRIVATE> have been fixed (by disabling Thread Safety Analysis for these configurations). =end original C<-DPERL_GLOBAL_STRUCT> や C<-DPERL_GLOBAL_STRUCT_PRIVATE> での Clang のビルドが (これらの設定での Thread Safety Analysis を 無効にすることで) 修正されました。 =back =head1 Platform Support (プラットフォーム対応) =head2 Platform-Specific Notes (プラットフォーム固有の注意) =over 4 =item VMS =over 4 =item * =begin original C now recognizes the VSI-branded C compiler. =end original F は VSI ブランドの C コンパイラを認識するようになりました。 =back =item Windows =over 4 =item * =begin original Building XS modules with GCC 6 in a 64-bit build of Perl failed due to incorrect mapping of C and C. This has now been fixed. L<[perl #131726]|https://rt.perl.org/Public/Bug/Display.html?id=131726> L<[cpan #121683]|https://rt.cpan.org/Public/Bug/Display.html?id=121683> L<[cpan #122353]|https://rt.cpan.org/Public/Bug/Display.html?id=122353> =end original C と C の間違ったマッピングにより、64 ビットビルドの Perl で GCC 6 を使った XS モジュールのビルドに失敗していました。 これは修正されました。 L<[perl #131726]|https://rt.perl.org/Public/Bug/Display.html?id=131726> L<[cpan #121683]|https://rt.cpan.org/Public/Bug/Display.html?id=121683> L<[cpan #122353]|https://rt.cpan.org/Public/Bug/Display.html?id=122353> =back =back =head1 Selected Bug Fixes (バグ修正の抜粋) =over 4 =item * =begin original C<< /@0{0*-E@*/*0 >> and similar contortions used to crash, but no longer do, but merely produce a syntax error. L<[perl #128171]|https://rt.perl.org/Public/Bug/Display.html?id=128171> =end original C<< /@0{0*-E@*/*0 >> や似たようなねじれはクラッシュしていましたが、 もはやクラッシュせず、単に文法エラーが出力されるようになりました。 L<[perl #128171]|https://rt.perl.org/Public/Bug/Display.html?id=128171> =item * =begin original C or C with an argument which is a reference or typeglob which, when stringified, contains a null character, started crashing in Perl 5.20, but has now been fixed. L<[perl #128182]|https://rt.perl.org/Public/Bug/Display.html?id=128182> =end original 文字列化すると NUL 文字を含むようなリファレンスや型グロブを引数にした C や C は Perl 5.20 からクラッシュしていましたが、 修正されました。 L<[perl #128182]|https://rt.perl.org/Public/Bug/Display.html?id=128182> =item * =begin original Expressions containing an C<&&> or C<||> operator (or their synonyms C and C) were being compiled incorrectly in some cases. If the left-hand side consisted of either a negated bareword constant or a negated C block containing a constant expression, and the right-hand side consisted of a negated non-foldable expression, one of the negations was effectively ignored. The same was true of C and C statement modifiers, though with the left-hand and right-hand sides swapped. This long-standing bug has now been fixed. L<[perl #127952]|https://rt.perl.org/Public/Bug/Display.html?id=127952> =end original C<&&> や C<||> 演算子 (およびその同義語の C や C) を含む式は 場合によっては間違ってコンパイルされていました。 左側が否定された裸の単語の定数または定数式を含む否定された C ブロックで、右側が否定された畳み込みできない式の場合、 否定の片方が事実上無視されていました。 同じことは C と C 文修飾子でも起きていましたが、 右側と左側の条件は入れ替わっていました。 この長い間存在していたバグは修正されました。 L<[perl #127952]|https://rt.perl.org/Public/Bug/Display.html?id=127952> =item * =begin original C with an argument no longer crashes when encountering stash entries other than globs. L<[perl #128106]|https://rt.perl.org/Public/Bug/Display.html?id=128106> =end original 引数付きの C はスタッシュエントリがグロブ以外でももはや クラッシュしなくなりました。 L<[perl #128106]|https://rt.perl.org/Public/Bug/Display.html?id=128106> =item * =begin original Assignment of hashes to, and deletion of, typeglobs named C<*::::::> no longer causes crashes. L<[perl #128086]|https://rt.perl.org/Public/Bug/Display.html?id=128086> =end original C<*::::::> という名前の型グロブのハッシュへの代入や削除はもはや クラッシュを引き起こさなくなりました。 L<[perl #128086]|https://rt.perl.org/Public/Bug/Display.html?id=128086> =item * =begin original Assignment variants of any bitwise ops under the C feature would crash if the left-hand side was an array or hash. L<[perl #128204]|https://rt.perl.org/Public/Bug/Display.html?id=128204> =end original C 機能の基でのビット単位 op の代入は、左側が配列やハッシュの場合 クラッシュしていました。 L<[perl #128204]|https://rt.perl.org/Public/Bug/Display.html?id=128204> =item * =begin original C now leaves the error code returned by the system in C<$!> on failure. L<[perl #128316]|https://rt.perl.org/Public/Bug/Display.html?id=128316> =end original socket() は、失敗時に システムから返された C<$!> のエラーコードを そのままにするようになりました。 L<[perl #128316]|https://rt.perl.org/Public/Bug/Display.html?id=128316> =item * =begin original Parsing bad POSIX charclasses no longer leaks memory. L<[perl #128313]|https://rt.perl.org/Public/Bug/Display.html?id=128313> =end original 間違った POSIX 文字クラスのパースでメモリリークしなくなりました。 L<[perl #128313]|https://rt.perl.org/Public/Bug/Display.html?id=128313> =item * =begin original Since Perl 5.20, line numbers have been off by one when perl is invoked with the B<-x> switch. This has been fixed. L<[perl #128508]|https://rt.perl.org/Public/Bug/Display.html?id=128508> =end original Perl 5.20 から、perl が B<-x> 付きで起動されたとき、行番号が 1 ずれていました。 これは修正されました。 L<[perl #128508]|https://rt.perl.org/Public/Bug/Display.html?id=128508> =item * =begin original Some obscure cases of subroutines and file handles being freed at the same time could result in crashes, but have been fixed. The crash was introduced in Perl 5.22. L<[perl #128597]|https://rt.perl.org/Public/Bug/Display.html?id=128597> =end original 同時に解放されたサブルーチンとファイルハンドルのいくつかの不明瞭な場合に クラッシュを引き起こすことがありましたが、これは修正されました。 このクラッシュは Perl 5.22 で導入されていました。 L<[perl #128597]|https://rt.perl.org/Public/Bug/Display.html?id=128597> =item * =begin original Some regular expression parsing glitches could lead to assertion failures with regular expressions such as C=/> and C!/>. This has now been fixed. L<[perl #128170]|https://rt.perl.org/Public/Bug/Display.html?id=128170> =end original おかしなものをパースする一部の正規表現で、C=/> と C!/> のような正規表現でアサート失敗を引き起こすことがありました。 これは修正されました。 L<[perl #128170]|https://rt.perl.org/Public/Bug/Display.html?id=128170> =item * =begin original C and similar functions now perform a null check internally, to avoid crashing with the torsocks library. This was a regression from Perl 5.22. L<[perl #128740]|https://rt.perl.org/Public/Bug/Display.html?id=128740> =end original C および同様の関数は、torsocks ライブラリでの クラッシュを防ぐために、内部でヌルチェックを行うようになりました。 これは Perl 5.22 からの退行でした。 L<[perl #128740]|https://rt.perl.org/Public/Bug/Display.html?id=128740> =item * =begin original Mentioning the same constant twice in a row (which is a syntax error) no longer fails an assertion under debugging builds. This was a regression from Perl 5.20. L<[perl #126482]|https://rt.perl.org/Public/Bug/Display.html?id=126482> =end original 連続して 2 回同じ定数に言及 (これは文法エラーです) しても、 デバッグビルドの基でアサート失敗しなくなりました。 これは Perl 5.20 からの退行でした。 L<[perl #126482]|https://rt.perl.org/Public/Bug/Display.html?id=126482> =item * =begin original In Perl 5.24 C 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. L<[perl #128967]|https://rt.perl.org/Public/Bug/Display.html?id=128967>. =end original Perl 5.24 では、C は -1 を引数として受け付けないように変更されました; 一部のプラットフォームではエラーになるからです。 しかし、いくつかのその他のプラットフォームでは引数を受け付けていました。 この変更は取り消されました。 L<[perl #128967]|https://rt.perl.org/Public/Bug/Display.html?id=128967>. =item * =begin original C<@{x> followed by a newline where C<"x"> represents a control or non-ASCII character no longer produces a garbled syntax error message or a crash. L<[perl #128951]|https://rt.perl.org/Public/Bug/Display.html?id=128951> =end original C<"x"> が制御文字や非 ASCII 文字のとき、C<@{x> に引き続いて改行があっても、 もはや不明瞭な文法エラーやクラッシュを引き起こさなくなりました。 L<[perl #128951]|https://rt.perl.org/Public/Bug/Display.html?id=128951> =item * =begin original A regression in Perl 5.24 with C when the code point was between 128 and 255 has been fixed. L<[perl #128734]|https://rt.perl.org/Public/Bug/Display.html?id=128734>. =end original 符号位置が 128 から 255 の間のときの C の Perl 5.24 からの 退行が修正されました。 L<[perl #128734]|https://rt.perl.org/Public/Bug/Display.html?id=128734>. =item * =begin original Many issues relating to C 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". L<[perl #128843]|https://rt.perl.org/Public/Bug/Display.html?id=128843> L<[perl #128888]|https://rt.perl.org/Public/Bug/Display.html?id=128888> L<[perl #128889]|https://rt.perl.org/Public/Bug/Display.html?id=128889> L<[perl #128890]|https://rt.perl.org/Public/Bug/Display.html?id=128890> L<[perl #128893]|https://rt.perl.org/Public/Bug/Display.html?id=128893> L<[perl #128909]|https://rt.perl.org/Public/Bug/Display.html?id=128909> L<[perl #128919]|https://rt.perl.org/Public/Bug/Display.html?id=128919> =end original 16 進浮動小数点の C に関する多くの問題が修正されました。 さらに、非正規化数("subnormals") (以前は "denormals" として 知られていました) 浮動小数点数は、通常の IEEE 754 浮動小数点数 (64 ビット または 128 ビット) と x86 の 80 ビット「拡張精度」の両方に対応しました。 非正規化 16 進浮動小数点数リテラルは「指数アンダーフロー」に関する 警告が出ることに注意してください。 L<[perl #128843]|https://rt.perl.org/Public/Bug/Display.html?id=128843> L<[perl #128889]|https://rt.perl.org/Public/Bug/Display.html?id=128889> L<[perl #128890]|https://rt.perl.org/Public/Bug/Display.html?id=128890> L<[perl #128893]|https://rt.perl.org/Public/Bug/Display.html?id=128893> L<[perl #128909]|https://rt.perl.org/Public/Bug/Display.html?id=128909> L<[perl #128919]|https://rt.perl.org/Public/Bug/Display.html?id=128919> =item * =begin original The parser could sometimes crash if a bareword came after C. L<[perl #129196]|https://rt.perl.org/Public/Bug/Display.html?id=129196> =end original C の後に裸の単語がある場合にパーサがクラッシュすることが ありました。 L<[perl #129196]|https://rt.perl.org/Public/Bug/Display.html?id=129196> =item * =begin original Fixed a place where the regex parser was not setting the syntax error correctly on a syntactically incorrect pattern. L<[perl #129122]|https://rt.perl.org/Public/Bug/Display.html?id=129122> =end original 正規表現パーサが文法的に間違ったパターンに対して正しく文法エラーの 位置を設定しない問題を修正しました。 L<[perl #129122]|https://rt.perl.org/Public/Bug/Display.html?id=129122> =item * =begin original A vulnerability in Perl's C implementation has been fixed by avoiding a possible memory wrap. L<[perl #131260]|https://rt.perl.org/Public/Bug/Display.html?id=131260> =end original メモリラップの可能性を避けることで、Perl の C 実装の脆弱性が 修正されました。 L<[perl #131260]|https://rt.perl.org/Public/Bug/Display.html?id=131260> =back =head1 Acknowledgements =begin original Perl 5.24.3 represents approximately 2 months of development since Perl 5.24.2 and contains approximately 3,200 lines of changes across 120 files from 23 authors. =end original Perl 5.24.3 は、Perl 5.24.2 以降、23 人の作者によって、 120 のファイルに約 3,200 行の変更を加えて、 約 2 ヶ月開発されてきました。 =begin original Excluding auto-generated files, documentation and release tools, there were approximately 1,600 lines of changes to 56 .pm, .t, .c and .h files. =end original 自動生成ファイル、文書、リリースツールを除くと、56 の .pm, .t, .c, .h ファイルに約 1,600 行の変更を加えました。 =begin original 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.24.3: =end original Perl は、活気のあるユーザーと開発者のコミュニティのおかげで 20 年を超えて 繁栄しています。 以下の人々が、Perl 5.24.3 になるための改良に貢献したことが分かっています: Aaron Crane, Craig A. Berry, Dagfinn Ilmari MannsEker, Dan Collins, Daniel Dragan, Dave Cross, David Mitchell, Eric Herman, Father Chrysostomos, H.Merijn Brand, Hugo van der Sanden, James E Keenan, Jarkko Hietaniemi, John SJ Anderson, Karl Williamson, Ken Brown, Lukas Mai, Matthew Horsfall, Stevan Little, Steve Hay, Steven Humphrey, Tony Cook, Yves Orton. =begin original 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. =end original これはバージョンコントロール履歴から自動的に生成しているので、ほぼ確実に 不完全です。 特に、Perl バグトラッカーに問題を報告をしてくれた (とてもありがたい)貢献者の 名前を含んでいません。 =begin original 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. =end original このバージョンに含まれている変更の多くは、Perl コアに含まれている CPAN モジュール由来のものです。 私たちは Perl の発展を助けている CPAN コミュニティ全体に感謝します。 =begin original For a more complete list of all of Perl's historical contributors, please see the F file in the Perl source distribution. =end original 全ての Perl の歴史的な貢献者のより完全な一覧については、どうか Perl ソース 配布に含まれている F を参照してください。 =head1 Reporting Bugs (バグ報告) =begin original 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 L . There may also be information at L , the Perl Home Page. =end original もしバグと思われるものを見つけたら、comp.lang.perl.misc ニュースグループに 最近投稿された記事や L にある perl バグ データベースを確認してください。 Perl ホームページ、L にも情報があります。 =begin original If you believe you have an unreported bug, please run the L 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, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. =end original もしまだ報告されていないバグだと確信したら、そのリリースに含まれている L プログラムを実行してください。 バグの再現スクリプトを十分小さく、しかし有効なコードに切りつめることを 意識してください。 バグレポートは C の出力と一緒に perlbug@perl.org に送られ Perl porting チームによって解析されます。 =begin original If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see L for details of how to report the issue. =end original もし報告しようとしているバグがセキュリティに関するもので、公開されている メーリングリストに送るのが不適切なものなら、 問題の報告方法の詳細について L を参照してください。 =head1 SEE ALSO =begin original The F file for an explanation of how to view exhaustive details on what changed. =end original 変更点の完全な詳細を見る方法については F ファイル。 =begin original The F file for how to build Perl. =end original Perl のビルド方法については F ファイル。 =begin original The F file for general stuff. =end original 一般的なことについては F ファイル。 =begin original The F and F files for copyright information. =end original 著作権情報については F 及び F ファイル。 =cut =begin meta Translate: SHIRAKATA Kentaro Status: completed =end meta