php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20938 Error compiling php with newer version (i.e. 2.0.6) of gdlib
Submitted: 2002-12-11 09:09 UTC Modified: 2002-12-11 09:15 UTC
From: klaus dot braun at geographie dot uni-freiburg dot de Assigned:
Status: Closed Package: GD related
PHP Version: 4.2.3 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-12-11 09:09 UTC] klaus dot braun at geographie dot uni-freiburg dot de
Newer versions of gdlib (I am using version 2.0.6) use
*gd_free in structure gdIOCtx* instead of *free. So in 
gd_ctx.c on lines 70 and 98 one has to use

ctx->gd_free = _php_image_output_ctxfree;
and 
ctx->gd_free(ctx);

instead of 

ctx->free = _php_image_output_ctxfree;
and 
ctx->free(ctx);

The same applies to gd.c on lines 1014, 1017 and 1209.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-11 09:15 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC