问题内容: I use php 7.0.22 (Ubuntu 17.04) When some user upload PNG with truncated data and i use: $a = imagecreatefrompng($path); then I get crash with: Fatal error: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in ###.php […]