LoginSignup
1
0

More than 5 years have passed since last update.

php-master-changes 2018-11-25

Posted at

今日は ext/sodium 利用時のエラー修正と不要コード削除、ext/gd の自動 crop 処理の修正があった!

2018-11-25

jedisct1: ext/sodium: Correct base64 decoding with unpadded variants

jedisct1: ext/sodium: remove redundant code

cmb69: Fix #77198: auto cropping has insufficient precision

  • https://github.com/php/php-src/commit/b47b8886dd17d080c74c401f7893ba9f4ccb83d3
  • [7.2~]
  • ext/gd で、自動 crop の精度問題を修正
  • 8x8 の白背景データで四隅以外の一箇所だけ黒いピクセルがあるようなデータで、自動 crop をかけると 1x1 の黒ピクセルのみの画像が得られる筈だが、あり得る 60 箇所のどこに黒ピクセルを配置してもそうならなかった
  • 処理上の off-by-1 の修正と、gdImageAutoCrop() の最後に crop.x、crop.y が 0 になる時、誤って失敗としていたのを修正している
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0