今日は sodium 経由で argon2 のパスワードハッシュを使う際の実装修正と libargon2 利用版との互換性向上、ドキュメントの更新、テストの修正、エンジンのリファクタリング、string と resource への参照についての循環参照 GC コストの低減、配列以外の値の変数を配列としてアクセスした際に Notice を吐くようにする修正、run-tests.php で 7.3 系でも CONFLICTS セクションを認識できるようにする修正、JIT のバグ修正、セグメントを HugePage 境界へ配置するのを x86 でのみやるようにする修正があった!
2019-07-10
sgolemon: Relax argon2 mem_cost down to 64k, bump time_cost to 4
- https://github.com/php/php-src/commit/f65956e4fb4dc15ba8129e69b13a2cd758e85f46
- [7.4~]
- ext/sodium で、argon2 の mem_cost を 64k に下げ、time_cost を 4 に引き上げ
petk: Use e.g. instead of less common f.e. [ci skip]
- https://github.com/php/php-src/commit/48abed7fd89a50c568ab3f5932fbc85ba93dae79
- [7.4~]
- ドキュメントに "for example" のつもりで f.e. と書いてあった箇所をより一般的な e.g. に修正
remicollet: improve libargon2/libsodium compatibility
- https://github.com/php/php-src/commit/db0eaa8cf1cbeeec5968a5f91a416541d354ccfe
- [7.4~]
- libargon2 / libsodium どちらでも同じ挙動となるよう互換性の向上
nikic: Avoid invalid array access in fcgi.inc
- https://github.com/php/php-src/commit/dfe5fd2a37c066acceefd1cbaabb50843d571c37
- [7.4~]
- sapi/fpm で、テストの境界外アクセスの修正
nikic: Clean up DateTimeZone::getLocation() test
- https://github.com/php/php-src/commit/9d82a01d017bafd9896d26f6291b443c9cd7f0ec
- [7.4~]
- ext/date で、DateTimeZone::getLocation() のテストのリファクタリング / 境界外アクセスの修正
nikic: Fix iteration limits in SXE test
- https://github.com/php/php-src/commit/a207b3574b5015877de997757cdd08a54ffb9e98
- [7.4~]
- ext/simplexml で、テストの境界外アクセスの修正
nikic: Simplify two unserialize() tests
- https://github.com/php/php-src/commit/0c450967e14be4392551c32b2bdd807374aa10be
- [7.4~]
- unserialize() のテストの単純化
nikic: Rename support_strings to !is_list
- https://github.com/php/php-src/commit/2bca35eaccfcded049f61f994c6c9078c6c91208
- [7.4~]
- support_strings という整数引数が list() アクセスかどうかの判定フラグとして使われていたので、is_list に改名
dstogov: Reduce cost for references to strings and resources
- https://github.com/php/php-src/commit/d57d74b2719a6142dcc0719cfc1ac1e1df755f9c
- [7.4~]
- array と object に効く Z_COLLECTABLE_P を導入し、Z_REFCOUNTED_P で判定していたのを置き換えて string と resource への参照についての循環参照 GC コストを低減、かな
dstogov: Reduce cost for GC references to strings and resources in JIT
- https://github.com/php/php-src/commit/db02d7ae757b8084b425544a34ea0598e7c2ab04
- ext/opcache/jit で、string と resource への参照についての循環参照 GC コストを JIT でも低減
nikic: Fix invalid array access in mysqli_fork test
- https://github.com/php/php-src/commit/a63422029ea2462caf949b7a0b4983e67109d4f2
- [7.4~]
- ext/mysqli で、mysqli_fork のテストの無効な配列アクセスの修正
nikic: Throw notice on array access on illegal type
- https://github.com/php/php-src/commit/c42b7dd6d32b43304b76452add158a2ef325d494
- [7.4~]
- 配列以外の値の変数を配列としてアクセスした際に Notice を吐くよう修正
- PHP RFC: E_WARNING for invalid container read array-access の実装
nikic: Implement array access notice in JIT
- https://github.com/php/php-src/commit/26431d1995861b979643b7233f5253390551bcad
- ext/opcache/jit で、PHP RFC: E_WARNING for invalid container read array-access を JIT でも実装
nikic: Additional fix for mysqli_fork test
- https://github.com/php/php-src/commit/852e35317da2af5e324058398ff76d89d97a0753
- [7.4~]
- ext/mysqli で、mysqli_fork のテストの無効な配列アクセスの修正
nikic: Fix file collisions in phar tests
- https://github.com/php/php-src/commit/07bbc54658757ae6457837c90a991e2ff02697fb
- [7.4~]
- ext/phar で、テストの並列実行対策
nikic: Add CONFLICTS to recognized sections
- https://github.com/php/php-src/commit/3fa9f9cfae2cedd7b6d26b6487dd156321243ab7
- [7.3~]
- run-tests.php で、サードパーティ拡張で利用できるよう、7.3 系でも CONFLICTS セクションを認識できるよう修正
nikic: Read from original address
- https://github.com/php/php-src/commit/36235cf5d7c5cf6d2f9673c46dd051fbbc2195a9
- ext/opcache/jit で、JIT の連想配列 / オブジェクトのアクセスコードでバグがあったのを修正
paxal: Align segments on huge page boundary only for x86
- https://github.com/php/php-src/commit/6791107319c1174f73402ba8ca890aa0473168bc
- [7.4~]
- ビルドシステムで、セグメントを HugePage 境界へ配置するのが ARM だとアカンかったので、x86 でのみやるよう修正
- #78268