Re: [PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Martin McNickle
Patch is in the tracker now. -- Martin On Tue, 2009-03-10 at 12:19 +0100, Pierre Joye wrote: > hi, > > Please post a link to the patch in the bug tracker directly. > > Thanks for your work, > > Cheers, > > On Tue, Mar 10, 2009 at 12:17 PM, Martin McNickle > wrote: > > Hi all, > > > > I've cr

Re: [PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Pierre Joye
hi, Please post a link to the patch in the bug tracker directly. Thanks for your work, Cheers, On Tue, Mar 10, 2009 at 12:17 PM, Martin McNickle wrote: > Hi all, > > I've created a simple patch for Bug #45799 [1] > > It employs a simple check to see if there are any colors associated with > th

[PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Martin McNickle
Hi all, I've created a simple patch for Bug #45799 [1] It employs a simple check to see if there are any colors associated with the image before outputting the PNG header. The patch is against CVS 5.3, shown below for convenience. I can create patches for the other branches if required. The test