=encoding euc-jp =head1 NAME =begin original perldelta - what is new for perl v5.26.2 =end original perl5262delta - perl v5.26.2 での変更点 =head1 DESCRIPTION =begin original This document describes differences between the 5.26.1 release and the 5.26.2 release. =end original この文書は 5.26.1 リリースと 5.26.2 リリースの変更点を記述しています。 =begin original If you are upgrading from an earlier release such as 5.26.0, first read L, which describes differences between 5.26.0 and 5.26.1. =end original 5.26.0 のような以前のリリースから更新する場合は、まず 5.26.0 と 5.26.1 の違いについて記述している L を読んでください。 =head1 Security (セキュリティ) =head2 [CVE-2018-6797] heap-buffer-overflow (WRITE of size 1) in S_regatom (regcomp.c) =begin original A crafted regular expression could cause a heap buffer write overflow, with control over the bytes written. L<[perl #132227]|https://rt.perl.org/Public/Bug/Display.html?id=132227> =end original 細工された正規表現が、バイト書き込みの制御時にヒープバッファ書き込みの オーバーフローを引き起こすことがありました。 L<[perl #132227]|https://rt.perl.org/Public/Bug/Display.html?id=132227> =head2 [CVE-2018-6798] Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) =begin original Matching a crafted locale dependent regular expression could cause a heap buffer read overflow and potentially information disclosure. L<[perl #132063]|https://rt.perl.org/Public/Bug/Display.html?id=132063> =end original 細工されたロケール依存の正規表現でマッチングすると、ヒープバッファ読み込みの オーバーフローを引き起こすことがあり、情報を暴露する可能性がありました。 L<[perl #132063]|https://rt.perl.org/Public/Bug/Display.html?id=132063> =head2 [CVE-2018-6913] heap-buffer-overflow in S_pack_rec =begin original C could cause a heap buffer write overflow with a large item count. L<[perl #131844]|https://rt.perl.org/Public/Bug/Display.html?id=131844> =end original C はアイテムカウントが大きいときにヒープバッファ書き込みの オーバーフローを引き起こすことがありました。 L<[perl #131844]|https://rt.perl.org/Public/Bug/Display.html?id=131844> =head2 Assertion failure in Perl__core_swash_init (utf8.c) =begin original Control characters in a supposed Unicode property name could cause perl to crash. This has been fixed. L<[perl #132055]|https://rt.perl.org/Public/Bug/Display.html?id=132055> L<[perl #132553]|https://rt.perl.org/Public/Bug/Display.html?id=132553> L<[perl #132658]|https://rt.perl.org/Public/Bug/Display.html?id=132658> =end original Unicode 特性名と考えられるものの中に制御文字があると、perl のクラッシュを 引き起こすことがありました。 これは修正されました。 L<[perl #132055]|https://rt.perl.org/Public/Bug/Display.html?id=132055> L<[perl #132553]|https://rt.perl.org/Public/Bug/Display.html?id=132553> L<[perl #132658]|https://rt.perl.org/Public/Bug/Display.html?id=132658> =head1 Incompatible Changes (互換性のない変更) =begin original There are no changes intentionally incompatible with 5.26.1. If any exist, they are bugs, and we request that you submit a report. See L below. =end original 故意に、5.26.1 から互換性がなくなるようにした変更はありません。 もし 5.26.1 との互換性がなければ、それはバグですので、報告をお願いします。 以下の L を参照してください。 =head1 Modules and Pragmata (モジュールとプラグマ) =head2 Updated Modules and Pragmata (更新されたモジュールとプラグマ) =over 4 =item * =begin original L has been upgraded from version 5.20170922_26 to 5.20180414_26. =end original L はバージョン 5.20170922_26 から 5.20180414_26 に更新されました。 =item * =begin original L has been upgraded from version 0.16 to 0.17. =end original L はバージョン 0.16 から 0.17 に更新されました。 =item * =begin original L has been upgraded from version 1.16 to 1.17. =end original L はバージョン 1.16 から 1.17 に更新されました。 =item * =begin original L has been upgraded from version 0.68 to 0.69. =end original L はバージョン 0.68 から 0.69 に更新されました。 =back =head1 Documentation (文書) =head2 Changes to Existing Documentation (既存の文書の変更) =head3 L =over 4 =item * =begin original This has been updated to note that C<\p{Word}> now includes code points matching the C<\p{Join_Control}> property. The change to the property was made in Perl 5.18, but not documented until now. There are currently only two code points that match this property: U+200C (ZERO WIDTH NON-JOINER) and U+200D (ZERO WIDTH JOINER). =end original これは、C<\p{Word}> が C<\p{Join_Control}> 特性にマッチングする 符号位置を含むことを記すように更新されました。 この特性の変更は Perl 5.18 で行われましたが、今まで 文書化されていませんでした。 現在のところこの特性にマッチングする符号位置は二つだけです: U+200C (ZERO WIDTH NON-JOINER) と U+200D (ZERO WIDTH JOINER)。 =back =head1 Platform Support (プラットフォーム対応) =head2 Platform-Specific Notes (プラットフォーム固有の注意) =over 4 =item Windows =begin original Visual C++ compiler version detection has been improved to work on non-English language systems. L<[perl #132421]|https://rt.perl.org/Public/Bug/Display.html?id=132421> =end original Visual C++ コンパイラのバージョン検出は、非英語システムで動作するように 改良されました。 L<[perl #132421]|https://rt.perl.org/Public/Bug/Display.html?id=132421> =begin original We now set C<$Config{libpth}> correctly for 64-bit builds using Visual C++ versions earlier than 14.1. L<[perl #132484]|https://rt.perl.org/Public/Bug/Display.html?id=132484> =end original 14.1 より前のバージョンの Visual C++ を使った 64 ビットビルドで、 C<$Config{libpth}> を正しく設定するようになりました。 L<[perl #132484]|https://rt.perl.org/Public/Bug/Display.html?id=132484> =back =head1 Selected Bug Fixes (バグ修正の抜粋) =over 4 =item * =begin original The C built-in function now checks at compile time that it has only one parameter expression, and puts it in scalar context, thus ensuring that it doesn't corrupt the stack at runtime. L<[perl #4574]|https://rt.perl.org/Public/Bug/Display.html?id=4574> =end original C 組み込み関数は、引数が一つだけで、かつそれが スカラコンテキストであることをコンパイル時にチェックするようになりました; これにより、実行時にスタックが壊れていないことが保証されるようになりました。 L<[perl #4574]|https://rt.perl.org/Public/Bug/Display.html?id=4574> =item * =begin original Fixed a use after free bug in C introduced in Perl 5.27.1. L<[perl #131954]|https://rt.perl.org/Public/Bug/Display.html?id=131954> =end original Perl 5.27.1 で導入された、C にある、解放後使用バグが修正されました。 L<[perl #131954]|https://rt.perl.org/Public/Bug/Display.html?id=131954> =item * =begin original Parsing a C definition could cause a use after free if the C keyword was followed by whitespace including newlines (and comments). L<[perl #131836]|https://rt.perl.org/Public/Bug/Display.html?id=131836> =end original C キーワードに改行(およびコメント)を含む空白が引き続いている場合、 C 定義をパースするときに解放後使用を引き起こすことがありました。 L<[perl #131836]|https://rt.perl.org/Public/Bug/Display.html?id=131836> =item * =begin original The tokenizer now correctly adjusts a parse pointer when skipping whitespace in an C< ${identifier} > construct. L<[perl #131949]|https://rt.perl.org/Public/Bug/Display.html?id=131949> =end original トークナイザは、C< ${identifier} > 構文の中の空白を読み飛ばすときに パースポインタを正しく調整するようになりました。 L<[perl #131949]|https://rt.perl.org/Public/Bug/Display.html?id=131949> =item * =begin original Accesses to C<${^LAST_FH}> no longer assert after using any of a variety of I/O operations on a non-glob. L<[perl #128263]|https://rt.perl.org/Public/Bug/Display.html?id=128263> =end original 非グロブへの任意の I/O 操作の後では、 C<${^LAST_FH}> にアクセスしてももはやアサートしなくなりました。 L<[perl #128263]|https://rt.perl.org/Public/Bug/Display.html?id=128263> =item * =begin original C now performs correct reference counting when aliasing C<$a> and C<$b>, thus avoiding premature destruction and leakage of scalars if they are re-aliased during execution of the sort comparator. L<[perl #92264]|https://rt.perl.org/Public/Bug/Display.html?id=92264> =end original C は、C<$a> および C<$b> を別名化するときに参照カウントを 正しく扱うようになりました。 これにより、ソート比較子実行中に再別名化されても早すぎる破壊とスカラのリークを 起こさなくなりました。 L<[perl #92264]|https://rt.perl.org/Public/Bug/Display.html?id=92264> =item * =begin original Some convoluted kinds of regexp no longer cause an arithmetic overflow when compiled. L<[perl #131893]|https://rt.perl.org/Public/Bug/Display.html?id=131893> =end original ある種の複雑な正規表現が、コンパイル時に算術オーバーフローを 引き起こさなくなりました。 L<[perl #131893]|https://rt.perl.org/Public/Bug/Display.html?id=131893> =item * =begin original Fixed a duplicate symbol failure with B<-flto -mieee-fp> builds. F defined C<_LIB_VERSION> which B<-lieee> already defines. L<[perl #131786]|https://rt.perl.org/Public/Bug/Display.html?id=131786> =end original B<-flto -mieee-fp> ビルドでの重複シンボルエラーが修正されました。 F は、B<-lieee> が既に定義している C<_LIB_VERSION> を定義していました。 L<[perl #131786]|https://rt.perl.org/Public/Bug/Display.html?id=131786> =item * =begin original A NULL pointer dereference in the C function has been fixed. L<[perl #132017]|https://rt.perl.org/Public/Bug/Display.html?id=132017> =end original C 関数での NULL ポインタのデリファレンスが修正されました。 L<[perl #132017]|https://rt.perl.org/Public/Bug/Display.html?id=132017> =item * =begin original Failures while compiling code within other constructs, such as with string interpolation and the right part of C now cause compilation to abort earlier. =end original 文字列変数展開や C の右側のような、他の構文の中のコードの コンパイルに失敗した場合、 より早いタイミングでコンパイルを中止するようになりました。 =begin original Previously compilation could continue in order to report other errors, but the failed sub-parse could leave partly parsed constructs on the parser shift-reduce stack, confusing the parser, leading to perl crashes. L<[perl #125351]|https://rt.perl.org/Public/Bug/Display.html?id=125351> =end original 以前はその他のエラーを報告するためにコンパイルが続行することがありましたが、 部分パースの失敗により、パーサの shift-reduce スタック上に部分的に パースされた構造体が残されることがあり、パーサを混乱させて perl のクラッシュを引き起こすことがありました。 L<[perl #125351]|https://rt.perl.org/Public/Bug/Display.html?id=125351> =back =head1 Acknowledgements =begin original Perl 5.26.2 represents approximately 7 months of development since Perl 5.26.1 and contains approximately 3,300 lines of changes across 82 files from 17 authors. =end original Perl 5.26.2 は、Perl 5.26.1 以降、17 人の作者によって、 82 のファイルに約 3,300 行の変更を加えて、 約 7 ヶ月開発されてきました。 =begin original Excluding auto-generated files, documentation and release tools, there were approximately 1,800 lines of changes to 36 .pm, .t, .c and .h files. =end original 自動生成ファイル、文書、リリースツールを除くと、36 の .pm, .t, .c, .h ファイルに約 1,800 行の変更を加えました。 =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.26.2: =end original Perl は、活気のあるユーザーと開発者のコミュニティのおかげで 20 年を超えて 繁栄しています。 以下の人々が、Perl 5.26.2 になるための改良に貢献したことが分かっています: Aaron Crane, Abigail, Chris 'BinGOs' Williams, H.Merijn Brand, James E Keenan, Jarkko Hietaniemi, John SJ Anderson, Karen Etheridge, Karl Williamson, Lukas Mai, Renee Baecker, Sawyer X, Steve Hay, Todd Rinaldo, Tony Cook, Yves Orton, Zefram. =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 perl bug database at L . There may also be information at L , the Perl Home Page. =end original もしバグと思われるものを見つけたら、 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 Give Thanks (感謝を伝える) =begin original If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the C program: =end original もし Perl 5 でなされた作業について Perl 5 Porters に感謝したいと考えたなら、 C プログラムを実行することでそうできます: perlthanks =begin original This will send an email to the Perl 5 Porters list with your show of thanks. =end original これは Perl 5 Porters メーリングリストにあなたの感謝の言葉をメールします。 =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