[libGD] #235 [Task opened] bug for gdImage to png

[email protected] Fri, 3 Dec 2010 10:45:33 +0100 (CET)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - tzzhwj (tzzhwj) 

Attached to Project - libGD
Summary - bug for gdImage to png
Task Type - Bug Report
Category - Image Import/Export
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - 2.0.35
Due in Version - Undecided
Due Date - Undecided
Details - When I use gdImagePng, gdImagePngEx, gdImagePngPtr or gdImagePngPtrEx to transform gdImage to png image. The program abort anticly.

I found the problem. This situation will happen when the gdImage.sx or gdImage.sy equal to zero. And then, the libpng will abort the program because the width or height of the png image which will be generated is zero. 

I think libgd can filtrate the image which gdImage.sx or gdImage.sy equal to zero. After all, these image are not exist.

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=235

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.