google-code-export / yii-vn

Automatically exported from code.google.com/p/yii-vn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal on createimagefrompng with corrupted file

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Try to use this driver with attached corrupted png file
2. It will throw fatal: [function.imagecreatefrompng]: gd-png: fatal libpng 
error: Invalid chunk 
3. See 77 line of this code: 
https://code.google.com/p/yii-vn/source/browse/trunk/protected/extensions/image/
drivers/Image_GD_Driver.php

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
linux, php 5.5.9

Please provide any additional information below.

the problem is only about createimagefrompng

Original issue reported on code.google.com by alexg...@gmail.com on 10 Feb 2015 at 1:49

Attachments: