2018-09-01
weltling: Fixed bug #76829 Incorrect validation of domain on idn_to_utf8() function
- https://github.com/php/php-src/commit/b9ca573a1bf62e7fb55e863e2073e29ae94d59eb
- ext/intl の idn_to_utf8() でバリデーションが誤っていたのを修正
- 本来 Unicode コードポイントへの変換後 252 コードポイントになるまで許容なのが、255 バイトまで許容という実装になっていた
- uidna_nameToUnicodeUTF8() の結果はバイト数なのか? 4 かけてるからそうなのかな
weltling: Improve fix for bug #76829
- https://github.com/php/php-src/commit/4a43e5fb4f59bd4679f5233cc39f1a5b79820fdf
- ↑の修正について、idn_to_ascii() の方とコードが共有な箇所なので、そっちでは 255 byte 分のバッファで済むよう修正
weltling: [ci skip] Update NEWS
- https://github.com/php/php-src/commit/bcfe5f58451d574480453b98b02e2b4bd46df687
- ↑の ext/intl の修正を NEWS へ追記
cmb69: Fix #75696: posix_getgrnam fails to print details of group
- https://github.com/php/php-src/commit/2677d438502b68a967d46ffadfadc138070ce762
- ext/posix で、posix_getgrnam() 呼び出し時に失敗するケースがある問題を修正
- 元々 POSIX の sysconf(_SC_GETGR_R_SIZE_MAX) はバッファサイズが足りないと失敗する仕様
- ERANGE での失敗時、バッファサイズを力強く倍々に増やしてリトライしていくよう修正された