php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58907 open PNG-Files with 'tExt' in png-header crashes cairo
Submitted: 2009-10-20 07:14 UTC Modified: 2009-12-11 16:11 UTC
From: swen dot zanon at geoglis dot de Assigned:
Status: Closed Package: cairo (PECL)
PHP Version: 5.3.0 OS: SUSE 11.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: swen dot zanon at geoglis dot de
New email:
PHP Version: OS:

 

 [2009-10-20 07:14 UTC] swen dot zanon at geoglis dot de
Description:
------------
compiling cairo with errors:
/tmp/pear/temp/Cairo/cairo_image_surface.c: In function ?zif_cairo_image_surface_create_from_png?:
/tmp/pear/temp/Cairo/cairo_image_surface.c:386: warning: passing argument 1 of ?cairo_image_surface_create_from_png_stream? from incompatible pointer type
/tmp/pear/temp/Cairo/cairo_image_surface.c: In function ?zim_CairoImageSurface_createFromPng?:
/tmp/pear/temp/Cairo/cairo_image_surface.c:430: warning: passing argument 1 of ?cairo_image_surface_create_from_png_stream? from incompatible pointer type

Reproduce code:
---------------
$imageSurface = CairoImageSurface::createFromPng( $file );

Expected result:
----------------
valid image_surface-object

Actual result:
--------------
scripts exits unespected

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-21 05:03 UTC] swen dot zanon at geoglis dot de
cairo 1.8.8
zlib 1.2.3
pnglib 1.2.4
 [2009-10-21 11:38 UTC] auroraeosrose@php.net
Can you reproduce this with the svn version of cairo?  I really need to do a new release ;)
 [2009-10-21 11:39 UTC] auroraeosrose@php.net
Can you reproduce this with the current svn version of cairo?
 [2009-10-22 03:40 UTC] swen dot zanon at geoglis dot de
compiling with current svn-version of cairo (1.9.2) solves the problem!
 [2009-12-11 16:11 UTC] auroraeosrose@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC